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
0answers
5 views

Traceroute Termnial vs Network Utility different?

Why would terminal>traceroute #.#.#.# show different results than using the network utility.app? Here is the first 3 hops. I am connected to PIA VPN but regardless both methods should show the same ...
2
votes
1answer
24 views

List hung processes in Terminal?

Is there any way to list only those processes which are hung, i.e., "not responding", in Terminal? The only way I know to do this is look in Activity Monitor for the ones in red.
0
votes
1answer
11 views

Create custom shortcuts and assign them to F keys

I recently migrated to OS X 10.10 from Ubuntu 14.04 (Linux). In Ubuntu, I could make any key of my keyboard do anything I liked. I used to have the F1, F2, and F3 keys set to function as the red, ...
82
votes
24answers
80k views

OS X Terminal “must have” utilities

I've just read with pleasure, and learned a lot from these questions : OS X Terminal Tips and Tricks OS X Hidden features and nice tips & tricks OS X Applications you can't live without But I ...
1
vote
0answers
28 views

ssh -X does not work on Yosemite

Can no longer use X11 with ssh. Have XQuartz2.7.7 installed. Logging in with X11 via ssh gives the warnings Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: ...
4
votes
1answer
65 views

Keeping Finder in sync with changes made in Terminal?

Until Yosemite, I could work in the Terminal and file system changes would be immediately updated in Finder. Now, however, Finder seems to be out of sync with the filesystem. Finder shows files I have ...
0
votes
1answer
36 views

After Installation of Yosemite some command line tools not found!

I just did a clean installation of 10.10. Now some command line tools won't work anymore. In example gshred is not found anymore (always worked on Lion) and man gpg gives "No manual entry for gpg". ...
1
vote
1answer
74 views

opencv cmake not building

I've been trying to build OpenCV in a mac (Yosemite 10.10) using cmake-gui and the compilers gcc,g++ and gfortran given by MacPorts. I HAVE to use those compilers. I configured WITH_OPENCL to be OFF ...
2
votes
3answers
91 views

Why are my command line utilities running so slowly on my Mac?

I have just noticed that command line utilities such as ls (/bin/ls), touch (/usr/bin/touch), cat (/bin/cat), etc. are very slow when I run them from Terminal or iTerm on my MacBook. For example: ...
1
vote
2answers
41 views

Why does my command line prompt now beging with “vpn”?

I was just (unsuccessfully) playing around with setting up a vpn in OS X Server, and now all my new terminal prompts begin with "vpn" followed by my user name. Anyone know why this is the case and how ...
3
votes
2answers
958 views

Need help using Homebrew 'Services' command

I installed MongoDB using homebrew recently. A few articles on the web advise to start mongo using the following command, brew services start mongo But when I use this command, I get the following ...
3
votes
1answer
133 views

New users can't see Apple applications from Utilities folder in Launchpad

I felt like giving my mess of Launchpad icons a fresh start. So I did defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock On checking Launchpad, it had appeared to have ...
2
votes
2answers
769 views

Installing Mavericks via Terminal

I have the Install OS X Mavericks.app in Recovery Mode and I want to execute it somehow to start the installation from the terminal, so I don't need the internet connection. I executed the ...
0
votes
0answers
9 views

Using kdiff3 as default git diff viewer on Mac OS

I have kdiff3 installed on my Mac (Version 0.9.97, 64 bit). Here's my ~/.gitconfig: [filter "media"] required = true clean = git media clean %f smudge = git media smudge %f [user] ...
0
votes
0answers
21 views

Urxvt on homebrew ignoring certain .Xdefaults and .Xresources settings

I have a .Xdefaults and a .Xresources that I use on my Linux setups that I want to also use on my OSX setup. However, the Urxvt I installed on homebrew is not picking up certain settings from both ...
1
vote
1answer
357 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 ...
2
votes
3answers
2k views

brew bundle reporting “Error: unknown command: bundle”

I'm completely puzzled by this one. I have refactored my install scripts to use the new brew bundle feature. However, I'm getting "Error: unknown command: bundle" $ which brew /usr/local/bin/brew $ ...
0
votes
2answers
20 views

File contents remains in terminal after exiting Vim?

I'm using the stock terminal with zsh and vim. After I exit vim, the file contents remains in the terminal. Ideally, only the previous history would be in the terminal when I exit vim (such as the ...
4
votes
6answers
349 views

Are there any global key combinations suitable or specifically reserved on OS X for user assignment?

I'm trying to identify an appropriate global hotkey to set in iTerm2's preferences for showing/hiding it: I'd like to avoid any conflicts with other applications' hotkeys or other future use. Are ...
0
votes
0answers
22 views

“Ghost text” in terminal, Yosemite + Visor (formerly TotalTerminal)

There's "ghostet text" in my terminal (see screenshot), and I'm hoping someone knows how to fix this… Turning background transpareny off fixes the problem, but it's not a solution which I'm a fan ...
1
vote
1answer
77 views

Terminal highlight color changes when window is not targeted

I have a terminal profile in which I changed the highlight color (let's say, to green). I didn't like it so I changed it back to blue. Now, whenever I am targeting the window and I highlight, the ...
21
votes
6answers
62k views

How can I list all user accounts in the terminal?

How can I list all local user accounts (whether logged in or NOT so 'users' or 'who' is no good) in the terminal on a mac? OS X version is 10.6.8. I have seen this suggested - dscacheutil -q group ...
2
votes
1answer
3k 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. ~ ...
1
vote
2answers
14 views

open <TAB> opening finder window

I use zsh. For some reason, with zsh, when I type open <TAB> (which should list the files to autocompletion), it opens Finder in the current folder. I don't have anything aliased for that. I ...
5
votes
1answer
807 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
3
votes
7answers
4k views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
0
votes
1answer
18 views

Find all hidden “.idea” folders in system [duplicate]

I am using PHPStorm 8 for programming. PHPStorm automatically creates a hidden folder called ".idea", where all project-specifiy settings are stored. How am I able to find all these ".idea" folders ...
0
votes
2answers
1k views

how to get shell scripts to run at startup on Yosemite

There is a directory in System/Library for startup items I presume: StartupItems I need to have a shell script that will configure ethernet interface at start up, with local network address and ...
1
vote
1answer
766 views

“Missing Quartz Composition” displayed on TotalTerminal

I started using TotalTermianl on Mountain Lion. But the background have Missing Quartz Composition error. I have found some people had the same as mine here Do anyone know how to fix it??
2
votes
2answers
750 views

hdiutil: compact failed – Function not implemented

When compacting a sparse image with the hdiutil compact command, it fails with the message hdiutil: compact failed – Function not implemented.
0
votes
1answer
33 views

How can I get rid of MacKeeper Helper on my mac's activity monitor

I have tried to quit, force quit and so many more things in Terminal and all over the place but it's still there. Thanks in advance for help
37
votes
3answers
21k views

How to replace Mac OS X utilities with GNU core utilities?

I found there is some differences between the utility command I used on the mac OSX and linux. I want to make my experience united. How could I replace all my mac utilities with GNU utilities?
0
votes
1answer
30 views

Stymied trying to repair disc [closed]

Here's the problem I'm trying to solve: I installed a game on my PS3 and it corrupted the drive. I installed the same game on my other PS3, and it corrupted the drive. (I sense a pattern here.) That ...
1
vote
2answers
16 views

Escape sequence in terminal or iTerm to jump to absolute column?

Is there an escape sequence which I can use to jump to an absolute column in OS X Yosemite Terminal or iTerm? In other words: echo 12345678901234567890 echo \StartAtColumn10 A10 \StartAtColumn2 B2 ...
5
votes
1answer
1k views

Terminal flashes on empty backspace with Yosemite

Since using Yosemite, I've had the annoying problem of my current Terminal window flashing when backspacing on an empty line. I know on previous versions of OS X this flashing was not default, and ...
1
vote
3answers
31 views

Turn off mail notification in terminal

I'm running some cron jobs on my machine and every time I fire up a terminal session I'm getting a 'You have mail.' message. Any way to turn this off?
4
votes
2answers
3k views

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
1
vote
4answers
5k views

How to persistently define aliases in Terminal

I want to add aliases to my environment so that they are available in all Terminal instances. I got this answer: Yes, you can put it in your .bashrc, .bash_profile or .profile. On some systems ...
22
votes
8answers
11k views

Can home and end keys be mapped when using Terminal?

The home and end keys on a MacBook Pro can be emulated with fn + left arrow or fn + right arrow. Or when certain settings are changed, with the Command (Apple) key instead of fn. None of these ...
1
vote
1answer
20 views

How can I redirect the output of screen to a file?

I'm trying to capture data from a Serial Port by opening 'screen' from the terminal. It works, I see the data coming but I can't figure out how to save it to a file. I tried to redirect the output of ...
0
votes
0answers
41 views

Page Up / Page Down - Changing scroll length on Yosemite

I have come to inquire about a terminal command to edit/change the amount of scroll length Yosemite does when page up or page down is pressed. For my knowledge, I think default value is one whole ...
5
votes
4answers
706 views

Newly Installed App (gem) Via Terminal, Path?

I have used sudo gem install to install a few gems. My question is how do I know where the executable was installed, so I can add it to the path in .bash_profile?
15
votes
4answers
18k views

How to get the fully resolved path of a symbolic link in Terminal?

I have a tangled mess of python installations on my laptop. I was looking at the executables in /usr/local/bin and they are all symbolic links to ../../../Library...... There's some weird behavior ...
2
votes
1answer
86 views

Move all contents from a folder to another with shell script

Why does this work? mv /Users/diogosaraiva/Music/Youtube/Novas/* /Users/diogosaraiva/Music/Youtube/Tratadas …but the commands below don't work? mv "/Users/diogosaraiva/Music/Youtube/Novas/*" ...
3
votes
2answers
95 views

Creating System-Wide Keyboard Shortcut To Launch Applications

I recently switched from Ubuntu, and I was feeling very comfortable with using Ctrl + Alt + T to launch terminal. Can I assign Shift + Cmd + T to do the same thing in Yosemite? Specifically, I want a ...
4
votes
3answers
1k views

Is it possible to hide the scrollbar in Terminal?

In the 10.4 or maybe 10.5 versions of Terminal.app it was possible to hide the scrollbar completely. Does anyone know if this is still possible in the 10.6 version of Terminal.app?
5
votes
3answers
7k views

Where are bash profile startup files?

I know that you can have a .profile or .bash file in your home folder to customise Mac OS X 10.6.4 Terminal bash startup. Every time I start up Terminal, there is a line that tells me "You've got ...
45
votes
4answers
34k views

Are my permissions for /usr/local/ correct?

I’m using HomeBrew for my port needs (seems a bit “cleaner” than MacPorts). I can install without sudoing (which is great), but the man linking step seems to require it (/usr/local/share/man/man3 ...
3
votes
2answers
815 views

Installing mc (midnight commander) without root access?

How do I do that? The normal installers (with .pkg files) ask for a root password. It is possible to run normal mac software without root access, but how do I run and install this shell software?
5
votes
2answers
1k views

Decompressing .sit file

I have recently downloaded a .sit archive file. Is there a way to decompress it at the command line?