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
32 views

Substitue Escape for Control U in Terminal

I would like to change bash keybinding so that the Escape key has the same effect as Control U. For example, if I tap the Escape key, the current Terminal command will be cleared out (which is what ...
0
votes
1answer
516 views

How do I re enable a permanently disabled Notification Center in Mavericks?

I disabled my notification center but i want to re enable it again i followed this link "How do I permanently disable Notification Center in Mavericks?"
0
votes
2answers
931 views

AppleShowAllFiles Command not working in Mavericks OS X 10.9

I have looked everywhere, but the command defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder and all variations thereof does not work since I upgraded to Mavericks. Why is this?? ...
1
vote
2answers
801 views

Allow application to control computer (assistive devices) on Mavericks via Terminal?

I'm currently working on automated instalation of Mavericks 10.9. I have NetBoot set up. Everything works OK untill I want to execute Applescript. Since the release of new version I need to manually ...
0
votes
0answers
129 views

How to change command key for tmux?

I normally use tmux on Ubuntu and have quite an extensive key-mapping file. How can I get key-mapping to work on OSX? I have a new mac. I have placed a (stripped down) .tmux.conf file in my home ...
1
vote
1answer
127 views

How to undo “sudo rm -rf /etc/apache2/other/+php-osx.conf”

After I did this: sudo unlink /usr/local/php5 sudo rm -rf /usr/local/php5-* To remove the supplemental configuration file that was installed with the updated PHP software, you may be able to remove ...
0
votes
1answer
249 views

How to connect to a specific BSSID via Terminal?

My internet provider has a service where I share part of my wifi connection with other subscribers and in return I can use their wifi connection when I'm close to a subscribers router. It's very ...
1
vote
1answer
118 views

Launching Terminal app starts XQuartz

Whenever I start the Terminal app in OS X Lion, XQuartz starts automatically. Is this intentional? I recently turned off much of the resume functionality because too many things were starting without ...
1
vote
2answers
173 views

Is there is a way to send a local message from a Mac to an iOS device *without* the Internet?

I know I can send Prowl notifications from OS X to iOS, but that requires going over the Internet. I'd like to accomplish the same thing, except that I want to be able to be able to do it without an ...
1
vote
1answer
321 views

How to patch a file that resides in /Applications (patch can't find file to patch at input line)?

I am trying to patch 5 files within an Mac application bundle using the Terminal patch command. The files to be patch are specified using an absolute file path (the file name and path start with a ...
0
votes
0answers
9 views

How can I customise the Terminal.app prompt [duplicate]

I have been using Terminal with xterm-256color emulation. I want to set the prompt to display the current directory in colour, as I used to under Linux. I have set the PS1 environment variable, but ...
1
vote
1answer
45 views

Splitting LexisNexis text file

For my research I have a number of text (txt or doc) files. These have a large quantity of newspaper clippings in them. I'd like to split these text files. Each clipping starts with document X ...
1
vote
1answer
45 views

Linking manuals from Homebrew

Whenever I install a software with Homebrew and I try to view the manual I get an error stating: No manual entry for <name of program>. As an example, wget: when I type $ man wget No ...
1
vote
1answer
36 views

How to stop 'locate' from using databases for unmounted volumes?

Despite the claim made in the answer to this question: Can Spotlight show results for disconnected drives? This is exactly the behaviour I am seeing and I don't want it! E.g. wms:~ alan$ ls ...
1
vote
2answers
971 views

zsh themes loaded but not working

I set theme in .zshrc file: ZSH_THEME="random" And when open new tab, it shows that new theme is loaded: [oh-my-zsh] Random theme '/Users/maks/.oh-my-zsh/themes/gozilla.zsh-theme' loaded... mac ...
1
vote
1answer
145 views

How to debug slow terminal prompt?

Ever since I upgraded to Mavericks, the Terminal prompt became a bit slower at coming back. It's not a huge deal, but there's now a slight noticeable delay before the prompt comes back (maybe like a ...
0
votes
0answers
11 views

Command Line Tips and Tricks [duplicate]

==>> What are the most useful Unix shell "one-liners" that you use? <<== Here are a couple of mine to get the conversation started: 1. Repeat the previous command with a substring replacement: ...
2
votes
1answer
64 views

Strange ACLs on OS X System

I have a folder on a HFS+ volume I can't delete. I already tried to get rid of the ACLs but somehow this doesn't worked out. The folder is calles CrashPlan.app. Here is what the terminal says: ...
3
votes
1answer
440 views

open new tab in iTerm and execute command there

I have found way to open new tab in iTerm: newtabi() { osascript -e 'tell application "iTerm" to activate' -e 'tell application "System Events" to tell process "iTerm" to keystroke "t" using ...
0
votes
1answer
82 views

Writing to NSUserDictionaryReplacementItems with defaults

The following command reads the NSUserDictionaryReplacementItems. The keys are called Text Shortcuts in OS X. defaults read NSGlobalDomain NSUserDictionaryReplacementItems I want to create new ...
1
vote
2answers
159 views

What does Control key do, other than its usage in terminal and right click?

So far I have been using control key to: Send control commands to terminal Occasionally do right click Does the key have any other function?
1
vote
1answer
1k views

How do I disable text antialias (font smoothing) in Terminal and globally for all apps?

I'd like to disable every kind of text anti-aliasing and font smoothing globally in OS X. With OS X 10.8 on a mid-2013 MacBook Air 13", I've tried quite a few options: the Turn off text smoothing ...
3
votes
2answers
641 views

Possible to tag a folder via terminal?

Is it possible to tag a file or folder in mavericks via terminal command?
1
vote
2answers
454 views

Getting launchd to read program arguments correctly

I have a launchd script where the command I'm trying to run is erroring (apparently that's not a word, it is now), complaining of improper usage. The specific error I'm getting is the command's usage ...
1
vote
0answers
41 views

How can I revoke an applications access to keychain passwords from the command-line?

Applications can be granted permanent unprompted access to passwords. You can add and revoke these privileges using the Keychain Access utility. (See this answer) I'd like to be able to revoke from ...
0
votes
1answer
159 views

In iTerm, why is a command shell's command not picking up things on my $PATH?

I've got a script in my ~/.bin directory that changes iTerm's background before starting an SSH session (as detailed here, script slightly modified from this version). If I start a regular login ...
1
vote
0answers
19 views

Terminal app Tabs, how to position next to current tab instead of at the end

I use Cmd-T all the time to open new tabs, and it's set to use the same directory. However, it positions the new tab as the last / far right tab in the window, instead of next to the current tab that ...
0
votes
1answer
48 views

Command line open pkg [duplicate]

I am trying to write an app that will trigger an pkg to open so the user can install this. I have the code and it is working well except for the following. When I try to open the pkg file using open ...
0
votes
0answers
49 views

Single User Mode Break Command and Pause Screen from Scrolling

Ok so I am used to a Dos how do you pause the screen output in single user mode and how do you break out of a command / pause the screen in single user mode
2
votes
1answer
309 views

How to connect to an already open Terminal session on another Mac

I am running Mac OS X 10.7 on a MBP and OS X 10.8 on a Mac Mini. I can connect to the Mini via ssh without any issues. I am running GNS3 (Network simulation) on the Mini and have configured it so that ...
0
votes
1answer
111 views

Recursive chmod fails

I have a folder owned by root:admin. I would like to change permissions of all files inside, so I can edit them without sudo, but recursive chmod fails: $ sudo chmod -R u+w some-folder/ does ...
1
vote
0answers
197 views

SSH Agent forwarding [closed]

I'm very new to ssh, And I want to test how agent forwarding is working on Mac OS X. I added one key using ssh-add, but when I try to connect to the server it's asking me a passphrase. Please ...
1
vote
0answers
23 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
7
votes
3answers
279 views

copy last command in terminal

I can see last command in terminal by pressing up arrow as in following example: I typed cd /: Makss-Mac:~ maks$ cd / ... pressed enter, command cd / executed and now I can press up arrow and see ...
2
votes
0answers
179 views

How to enable Three Finger Drag from command line

I'm trying to write a shell script that will automatically set the trackpad to use the three-finger-drag option that you can find in the system preferences. I've tried a number of different things, ...
2
votes
2answers
791 views

Starting airplay from command line, to send output of 'Say' Mac OS X command to airplay

Ok, Sunday question :) Trying to make a little joke... 1) if you open a terminal, and type "say -a ?", Mac OS X will give you the list of devices it can send spoken words to. On mine, it says: 39 ...
1
vote
1answer
277 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
90 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 / ...
2
votes
0answers
55 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 ...
3
votes
3answers
798 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
24 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
45 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
32 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
1answer
303 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
202 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 ...
11
votes
3answers
2k views

Text copied from Terminal with formatting in Mavericks

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.: ...
6
votes
2answers
244 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
565 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 $ ...
1
vote
3answers
58 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 ...
4
votes
1answer
722 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 ...