Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

3
votes
1answer
41 views

Using `say` to read terminal output from a command line tool?

I'm not sure if this is possible. I'm using a command line log parser for an MMO I play. Information is shown in Terminal window but I have to read it while playing rather than hear it while playing. ...
1
vote
1answer
62 views

How to install terminal application globally?

So I mess around with terminal once in a while. Occasionally I find I have to compile from source with the usual: ./configure make (sudo) make install I'm trying to install gtk+ following the ...
1
vote
1answer
43 views

How to share .bash_profile between different users in the same group? [duplicate]

I have searched by google but cannot find a right solution.The scenario is like this: in my mac, there are two users, lets say user1, user2. these two users are in the same group, which is staff ...
0
votes
2answers
42 views

Convert audio to OGG format via Terminal

Is there an app or a method that I can use from Terminal to convert audio files to the OGG format? I know about afconvert but that doesn't provide the ogg format that I want.
0
votes
1answer
28 views

How to script a logout while screen is locked?

I want to log out a user via a shell script, after a delay. However, there's a few other issues: User does not have admin and/or root. Logout must complete even if screen is locked. Currently, I'm ...
1
vote
1answer
32 views

How to monitor output sound from terminal

Is it possible to read current volume or frequency of outgoing sound from terminal? I am using OS X Mavericks
2
votes
2answers
126 views

How to disable Notification for Terminal app?

When i am starting a new server from the Terminal app, and i have the window not active, the Dock icon "jumps" up and down, also called "notifies me". I don't want this behaviour, i want a quiet ...
0
votes
1answer
56 views

How is $PATH created?

I am still relatively new to the workings of the Mac OS but have extensive knowledge of Linux. I updated my php on Mavericks using the php_osx and the instructions stated to use export ...
0
votes
1answer
32 views

Sound effects for commands completing in inactive tabs/windows

I think my life would be that much better if a subtle sound effect was played when a task completed in a terminal window/tab that's not the current one. It'd be even better if an exit code 0 sounded ...
2
votes
4answers
374 views

Writing a shell script (or something similar) that will execute some commands

For my work I use an app called Sublime Text to edit website documents. To open my project in sublime text I drag the folder above the icon and it opens it up in sublime text. My next step is to run ...
0
votes
0answers
63 views

Mount Folder in Maverick

I want to mount a folder to another folder. My reasoning is: I have a free box.net account with 50GB, but it does not include versioning. So I would like to put the folder under git. But I do not want ...
2
votes
1answer
102 views

Forward slash doesn't work when in terminal… works in every other application

I'm trying to use terminal and in every tab I open, when I try to change directory such as cd / I get a beep and am unable to type the character. I am on the same computer and am able to ...
0
votes
0answers
13 views

“Lastb” command in Mountain Lion [duplicate]

I just got a new MacBook, coming from years on linux, and I must say: I love it. I am currently working on a personal project that relies on seeing previously invalid log in attempts. In linux, there ...
1
vote
0answers
40 views

Terminal wraps at 80 chars even if window is wider

Problem description If I increase the width of a Terminal version 2.3 (309) window, and then use less (or some command invoking less, like man) in that window, I often get garbled output, since the ...
1
vote
2answers
26 views

Why CMD+N opened new popup Terminal window doesn't follow the default preference?

I love Mac terminal in Dark and had set up the default color scheme to a dark one. Every time I open the terminal it's OK but I found that if I open one terminal window and then open another one via ...
1
vote
0answers
23 views

Can't use Alt+N in Terminal

I installed Zsh the other day but didn't like it so I promptly removed it. Since doing so however I'm no longer able to type alt+n to get a ~ character, whilst it works everywhere else. Yes, I know I ...
0
votes
0answers
74 views

Command line tools for OSX Mavericks unavailable after installation

I'd like to install TuxMath on my Macbook running OSX Mavericks. In order to do so I need to install command line tools. In the Terminal this can be done by xcode-select --install It tells me ...
0
votes
1answer
27 views

How can I set a shortcut to close the window of TotalTerminal

TotalTerminal is great. But, if it is not the active application, in order to close its window, I have to enter again the application. Is it possible to set a shortcut to close the window of ...
1
vote
1answer
51 views

Compiling / installing shotdetect for OS X

I would like to find scene changes in a video with this command line tool: Shotdetect is a free software (LGPL) which detects shots and scenes from a video. Dependencies are: sudo apt-get ...
1
vote
1answer
63 views

How do I route internet through local PPP connection I have on PTY terminal?

I'm doing this hack job where I have routed a cell phone's GPRS modem over to a local PTY. The proprietary debug software actually routes the modem over TCP, I then use socat to route it to a PTY ...
1
vote
1answer
60 views

Root crontab won't save

I'm trying to add a crontab entry to my root user's crontab. I'm able to add an entry without issue to my regular user's crontab, but when I su to root user and try adding a crontab entry it does not ...
1
vote
1answer
52 views

Use find in Terminal to remove directories and files of same search parameter

If I type the following into Terminal, it will remove all files that meet the search parameter: sudo find . -type f -name "*Xilisoft*" -exec rm -rf {} \; Then if I start again and type it with d ...
1
vote
1answer
202 views

Open terminal using a keyboard shortcut

I am using Alfred and hence I don't have any use for the Cmd+Space keyboard shortcut. I want to invoke terminal using that shortcut. Just like in Ubuntu, when you press Ctrl+Alt+T, is there a way to ...
4
votes
1answer
62 views

Find and replace with grep and perl

I'd like to grep and replace specific text in textfiles within a directory and all subdirs. I try the following: ls -R | egrep '.*\.txt' | perl -i -p -e 's/one.a/two.a/g' Although grep spits out a ...
2
votes
0answers
36 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
1
vote
1answer
27 views

How can I create 'gch.app' such that “open -a gch page.html” works like “open -a Google\ Chrome page.html”?

I type open -a all the time from the terminal, and more often than not the application I want is Google Chrome.app, so I end up entering things along the lines of: open -a Google\ Chrome ...
1
vote
2answers
151 views

Is it possible to use TotalTerminal with Go2Shell?

I am using TotalTerminal. Now, I want to use Go2Shell, so that I can access quickly a terminal in the good folder. But, when I click on the Go2Shell icon, it opens a usual Terminal and not a ...
0
votes
0answers
31 views

How can I hide the TotalTerminal Visor from the command line?

I am using TotalTerminal. I know that I can set hotkeys to show or hide TotalTerminal's visor, but is there a command I can put at the end of a command line to hide it? For example: latex ; ...
2
votes
0answers
53 views

xcodebuild firing after every terminal command

After every terminal command, the prompt becomes unresponsive for 2-3 seconds. During this time xcodebuild seems to be running: Where would this hook be that's causing the xcodebuild to be fired? I ...
2
votes
2answers
208 views

Does Mac OS X's bash read scripts for all users (tab-completion scripts) from /opt/local/etc/bash_completion.d path?

I stumbled upon some instructions in the book "Pro Git" It suggests: Download this file : https://github.com/git/git/blob/master/contrib/completion/git-completion.bash If you use the Bash ...
1
vote
1answer
44 views

Why are my Terminal.app colors different from iTerm?

I have set the ANSI colors of both terminals to be the same (see 1st screenshot), but the colors for Terminal.app are really bright, and almost unreadable, and not like the colors I set at all. It's ...
2
votes
3answers
105 views

How to stop being logged out of SSH sessions when locking the screen in OS X 10.9.1?

Every time I lock my screen I get logged out of any active SSH sessions. I've added the following to my ~/.ssh/config file, but I still get logged out: Host * ServerAliveInterval 60 How can I ...
8
votes
2answers
2k views

Why Mac OS X don't source ~/.bashrc [duplicate]

I found a lot of people figuring out why instruction similar to this : Put X to your ~/.bashrc and you can do Y don't work. It always turns out that Mac OS X's bash's startup files (or Mac's ...
2
votes
2answers
63 views

Can't open a file in sublime text using bash_rc

My bash_profile function looks like: function st() { /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /Users/ishan/workspace/nltk_engine/index.py;} However, when I do st in terminal, ...
0
votes
0answers
15 views

My keyboard shortcut System Preference panel doesn't allow me to create application shortcuts

My computer is a MAcbook pro and I am running Macosx 10.8.4 I just realized that the shortcuts don't work anymore in an application where I really need them. When I went to re-create them in the ...
1
vote
1answer
49 views

How to create an applescript for multiple dd terminal commands in sequence (for multiple USB Drives duplication)

I need to create an apple script to perform DD Commands in sequence, to replicate the same .img file to multiple USB flash drives The context: the computer is connected to a powered USB hub with 7 ...
1
vote
1answer
225 views

How do I kill a process that won't die?

I'm unable to kill a process using any of the techniques I'm aware of ("Force Quit" in Activity Monitor, top, killall from the Terminal) and wonder if there are some additional steps I can take. ~ ...
0
votes
2answers
147 views

“xcode-select --install” versus retrieving the dmg from Apple's developer website

I would to ask a question closely related to already existing posts (How to install command line tools without error that is not currently available on Software Update server? and ...
0
votes
1answer
51 views

What is the proper way to use the cut command on ps command output

This question is related to a question I posted on rogue firefox procesess. It relates to firefox processes following image uploads that I have been having for a while. I am trying to get to the ...
0
votes
0answers
25 views

How to get rid of remnant samba shares via the shell

I'm running 10.6.8, and under System Preferences > Sharing > File Sharing is checked, and I have no folders under the left side. Naturally the right-side isn't populated with any users. When I ...
1
vote
0answers
24 views

How to manually start a service without having a controlling terminal?

I maintain an application that runs as a background service, started either on boot as a StartupItem or manually from the command line. I want to know how to launch it manually without having a ...
0
votes
1answer
44 views

how to install hypre using terminal on OS X 10.9.1

I want to install the lastest version of Hypre. It must be safe So using terminal is the safest way. I have brew. My question is : How can I do this using the terminal ?
1
vote
1answer
103 views

Terminal won't open after brew upgrade (dyld library not loaded)

I ran "brew upgrade" from the terminal, before upgrading finished the battery ran out on my MBP and the computer restarted. Now when I go to open a terminal the terminal window flashes up for a split ...
1
vote
0answers
36 views

Adjusting Brightness, or executing any keypress, on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
5
votes
2answers
148 views

How can I launch a GUI app in Applications folder from command line?

I would like to launch a GUI app that is in the Applications folder from the command line as opposed to clicking the icon in the Finder or in the Dock. The reason I want that is to be able to launch ...
2
votes
2answers
44 views

How do I change $PATH and set it to the default directory?

For some reason when I run echo $PATHI get the following directory: /Users/<home>/Library/Applications/. How do I set it back to its default location so that I don't have to run this command, ...
0
votes
1answer
30 views

Where to Install Applications when using Terminal? [duplicate]

I use the command line a lot to download and install applications. I've always downloaded into the /tmp directory then installed to another directory. But where is the place to install such ...
2
votes
1answer
768 views

Mac OS X Mavericks - add to path

I'm trying to set up a phonegap project and while trying to add a platform it outputs the following error: Error: The command "android" failed. Make sure you have the latest Android SDK installed, ...
0
votes
2answers
57 views

Universal path in Terminal

I'm writing an AppleScript that will allow me to copy the Time Machine folder from an external drive and paste it onto the user's desktop of their Mac. The reason I'm doing this is because when a time ...
8
votes
2answers
272 views

Login directly to terminal instead of GUI

First: I'm obviously not talking about logging in and then automatically launching Terminal.app. In older versions of Mac OS X, you used to be able to type >console in the username field on the ...