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

1
vote
1answer
397 views

Change Terminal Theme for Developing

I just got an iMac and wanted to change the default terminal to, what i believe, is a theme. I saw it a while ago and i'm not finding it. Screenshot below. You can find a video from Yeoman using ...
0
votes
2answers
303 views

messed up .bash_profile while configuring PostgreSQL

I am quite new to Terminal use. While installing and activating a local PostgreSQL server on my MacBook Pro (OS 10.6.8) I definitely messed up my .bash_profile (probably by messing around with user / ...
3
votes
1answer
106 views

Command+Tab misbehaving for apps on multiple monitors

I tend to keep a few Terminal windows open in one monitor, and another Terminal window and Chrome open in another monitor. When I'm using a single monitor, pressing ⌘⇥ remembers which Terminal window ...
4
votes
3answers
2k views

Homebrew warning: “No developer tools installed” even though Xcode is installed

After installing Homebrew the "brew doctor" command returns: Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them. …and I ...
2
votes
1answer
43 views

CLI to copy to clipboard but still output to term ?

I know that piping to pbcopy copies command line outputs to the clipboard. How can I still show the output in the terminal ?
0
votes
2answers
104 views

Remove symbol link

In terminal, I have made a symbol link like following: ln -s ../../../../ jni/prod It symbol links prod directory (which is 4 levels up from current location) to jni/prod . I'd like to emphasize ...
0
votes
1answer
137 views

install libsoup on macbook pro

I have a shell script from a open source project, when I run it in terminal, I get the following error: ./configure: line 17678: syntax error near unexpected token `soup,' ./configure: line 17678: ` ...
0
votes
2answers
2k views

Can't exec “glibtoolize”: No such file or directory

I have a shell script autogen.sh, I run it under my project directory in terminal: ./autogen.sh I get error: Can't exec "glibtoolize": No such file or directory at ...
2
votes
1answer
1k views

change terminal language os x

I have a Mountain Lion macbook and it's default locale is english, it's keyboard is english (US) as well. I need to change the language that the terminal replies to Swedish. For example, Instead of ...
25
votes
3answers
9k views

Text copied from Terminal with formatting in Mavericks and Yosemite

After the update to Mavericks, anything copied from Terminal is pasted in the target app with the same formatting as in Terminal, in my case, white monospaced letters on a black background, e.g.: ...
1
vote
3answers
524 views

cdto (to open a terminal) does not work in Mavericks

I've just switched to the Mavericks operating system in my Mac. I used to utilize a quite nice app called "cdto" that serves to open a terminal at the current directory where Finder is. The point is ...
8
votes
2answers
661 views

Can I configure terminal to show stderr output in different colour

Is it possible to configure the terminal in OS X to show stderr output automatically in a different colour than stdout output from a process? Or is this only possible if the process is outputting ...
0
votes
1answer
3k views

Trying to install CocoaPods using terminal getting command not found

Im trying to install CocoaPods using terminal. In their official website it is written: installing it is as easy as running the following commands in the terminal: $ [sudo] gem install cocoapods $ ...
2
votes
3answers
84 views

Open command doesn't like non escaped characters even between quotes?

Is it me or the open command does only accept escaped characters in parameters ? It tried open "~/Library/Messages/Attachments/87/07/079C263B-0586-48C6-B721-3C6AABAC76DF/Messages ...
5
votes
2answers
3k views

What is the “guest” password?

I tried looking for the "guest" password by doing the command dscacheutil -q user and found the guest account. I saw that there was a "password" (I know that the usual guest account does not have a ...
2
votes
1answer
1k views

Trouble in Automator's Shell Script after OS X 10.9 Mavericks upgrade

I've got a problem. I use from lot of time an Automator's shell script: cat >> ~/Dropbox/ClipBoard/Appunti\ Mac\ del\ $(date +\%Y-\%m-\%d).txt It ever worked but, after Mavericks upgrade, ...
1
vote
1answer
1k views

Mavericks - terminal change default printer paper size

I've been using the following terminal command to set the current default printer paper size to a custom paper size defaults write com.apple.print.PrintingPrefs DefaultPaperID -string 154x216 ...
19
votes
4answers
32k views

How to set system-wide environment variables on OS X Mavericks

We used to use /etc/environment to set system-wide environment variables on Mountain Lion. However, it seems this file is no longer read. Ideally the solution should apply to all users, and we need ...
4
votes
1answer
2k views

\Trace/BPT trap: 5 when using open from terminal

After upgrading to Maverick, I can't use the open command anymore from the terminal. Whenever I do, I get: $ open http://google.de Trace/BPT trap: 5 This is independent on the document chosen. $ ...
1
vote
1answer
5k views

Mavericks SSH keys and Keychain

Before Mavericks I could use Keychain to store my SSH keyfile passwords The connection between private key and Keychain was like this: ssh-add -K /path/of/private/key However now in Mavericks, the ...
17
votes
6answers
3k views

I-beam cursor color in Mavericks's terminal

After upgrading to Mavericks the I-beam cursor in the terminal became less visible (see screenshot, I am using the Pro profile with a dark background) Is there a way to change the cursor's color or ...
3
votes
1answer
573 views

All files in Finder show 'Date Modified' with correct days but always the same hour: 19:08

When I open a Finder window, all the file timestamps show the same hour, 19:08. The dates change, but the hour stays constant. This is also the case for time/dates shown in the Console. The Clock on ...
1
vote
2answers
9k views

Mount Shared Drive via AFP in Terminal

I want to mount an external drive, connected on computer A, to computer B. I am able to access and mount the drive by connecting to the server through Finder (Command-K), but how can I do this exact ...
14
votes
4answers
6k views

How can I install the Command Line Tools completely from the command line?

I'd like to script the installation of the the Xcode Command Line Tools. On Mavericks, xcode-select --install will open a dialog prompting the user to install, but I'd like to trigger the install ...
17
votes
6answers
8k views

How can I play a midi file from terminal?

I'm looking for a most simple command line app (or an on-board tool on Mavericks I am not aware of) to play a midi file from the terminal. As plain as possible, something like play myfile.mid. ...
1
vote
2answers
1k views

Symbolic links, why doesn't this work:

me$ ln -s ~/x/y/ ~/Desktop/ ln: /Users/me/Desktop//: File exists Why does this attempt at creating a symbolic link to ~/x/yon the Desktop now work? The only way I can seem to get something like a ...
2
votes
2answers
892 views

OS X's hidden preferences disappeared after Mavericks upgrade?

In past OS X versions, I used some commands to set preferences on my Mac. For example, I used the following command to enable selection of text in Quick Look: defaults write com.apple.finder ...
4
votes
1answer
165 views

Are there any improvements in the Mavericks Terminal app? [duplicate]

Most OS X updates have included a few tweaks to the Terminal app. I know that Mavericks has upgraded a lot of command-line tools, but I haven't seen any reports of changes in Terminal.app itself. Has ...
3
votes
2answers
2k views

Mount .sparseimage from .bash_profile

I need to mount a .sparseimage from .bash_profile but I don't get how to do it. I tried: alias of22='hdiutil attach "Documents/OF.sparseimage" -mountpoint "$HOME/OpenFOAM" > /dev/null ; . ...
4
votes
6answers
2k views

Avg load goes up after upgrading to Mavericks

Just upgraded to OSX 10.9 Mavericks. Everything is good and shiny. However, when I open my iTerm to code, I notice that the performance is lower. If I run a uptime command, the average loading is ...
2
votes
1answer
685 views

Terminal goes slow after install Mavericks OS

After I've update my OS to Mavericks. Terminal goes really slow, I've found out that the problem must be from Xcode. While I remove Xcode from my computer terminal works fine, and after I installed ...
18
votes
5answers
112k views

How do I set environment variables on OS X?

I have always difficulties setting the environment variables on Mac like JAVA_HOME, M2_HOME or PATH. How to set these on Mavericks OS X? I did some research but the answers I've found didn't really ...
0
votes
1answer
571 views

How to socksify apps in mac os

Is there an analog on mac os for http://linux.die.net/man/1/socksify ? So that i can use it like on linux: socksify mongo ....
2
votes
2answers
2k views

manually edit shortcuts on os x 10.9 (Mavericks)

I'm using TotalTerminal on 10.9 Mavericks and while it's not great, it's the best quake terminal I've found right now. I usually show/hide the visor using command-escape but unfortunately can't seem ...
20
votes
4answers
73k views

Why does OS X Mavericks block the purge command in Terminal?

When I try the purge command on my terminal, OS X Mavericks gives me the following message: Unable to purge disk buffers: Operation not permitted This hasn't been the default behavior until now. I ...
2
votes
1answer
567 views

Terminal output as a screensaver?

I want people to keep an eye on a script running in terminal whilst I'm away from my desk, but I don't trust them access to my machine. Is there a way to show the terminal console as a screensaver, ...
0
votes
1answer
185 views

Add a value to CustomPapers' plist using Terminal

I'm trying to add a printer to CustomPapers' .plist using this terminal command: defaults write com.apple.print.custompapers.plist 165x165 -dict-add ...
1
vote
1answer
807 views

terminal starts with `no such file or directory` message

I removed Enthought Canopy from my Mac and now when I start terminal there's this warning message says -bash: /Users/myname/Library/Enthought/Canopy_64bit/User/bin/activate: No such file or ...
1
vote
0answers
483 views

Where does Transmission store logs for called scripts?

Transmission has an option to run a shell script when a file finishes downloading. I'm wondering where to look for logs for it – it seems like it only executes half of my script but can't figure out ...
11
votes
1answer
6k views

How to update some application to latest version with homebrew-cask?

I noticed some packages provided by homebrew-cask uses a url of the latest version and a version number of "latest" such as dropbox and chrome. Thus they will never be upgraded with brew upgrade. Is ...
2
votes
2answers
234 views

Is it possible to remove all installed terminal applications and extensions back to native without doing a clean OSX install?

Basically I would like to know if it is possible to remove all php, apache, homebrew, mac ports etc. installs back to native without doing a clean install of the OS? If not is the best way to go ...
2
votes
2answers
3k views

curl command can't be found, OSX utilities have been replaced by GNU coreutils… how to start from scratch?

I recently installed homebrew and I was having a hard time because I could not install it as curl command couldn't be found, someone pointed me to use wget and that worked to install homebrew but now ...
1
vote
1answer
845 views

mvim (MacVim 7.4) opening new windows rather than tabs (Mac OS X 10.8.5)

I am using the above and editing new files using mvim <filename>. The first time after I installed mvim in the /usr/local/bin directory it seemed to open files in new tabs by default, this ...
2
votes
2answers
2k views

What is the real working method of making a bootable usb drive?

Always when I need to make a bootable usb drive on a mac I struggle, I end up switching to windows because none of the below works for me, I'm using MacBook Pro: running sudo dd if=Debian.is ...
3
votes
1answer
2k views

Mac terminal command: how to 'ls' for some specific files?

My question is about the ls command. If I have too many files in a folder, I might need either: ls files with a given type only or; ls files within a range, i.e., files with names a* to b*.
3
votes
3answers
16k views

Can't change folder permissions

I'm running Mountain Lion and I have a folder in ~/sites that has a red icon on the folder and I can't open it because 'access is denied'. What I've tried: Get Info > unlock with admin password, ...
1
vote
1answer
701 views

Terminal commands for “Application Windows” and “Show Desktop” in Mountain Lion

The title pretty much says it all. I need to know the terminal commands for "Application Windows" and "Show Desktop" in Mountain Lion so I can make aliases on the dock with Automator. I don't like hot ...
2
votes
2answers
5k views

How do I re-enable the Press and Hold character picker on OS X Lion?

I disabled the character picker by reading this other question, but I want to remove that change and restore the picker. When I type -g ApplePressAndHoldEnabled -bool true into Terminal, it does not ...
1
vote
1answer
235 views

no key repeat in Xquartz (x11)

I don't think I've used x11 since switching to Mountain Lion (and thus Xquartz). I recently tried to use it and my key repeat isn't working. When I press a key, it inserts the corresponding ...
1
vote
1answer
53 views

“open -t” vs. “open -ef”

the Command: syslog | tail | open -ef works perfectly on my osx 10.8.5 and opens the required lines from syslog in textEdit, however when I run syslog | tail | open -t which should open the same ...