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

0
votes
0answers
8 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
352 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
18 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
345 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
12 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
63 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
13 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
801 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
12 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
989 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
761 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
727 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
30 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
27 views

Stymied trying to repair disc [on hold]

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
15 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 ...
81
votes
24answers
79k 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 ...
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
28 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
35 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
702 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
17k 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
82 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
91 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
812 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?
5
votes
3answers
757 views

When is the locate database updated?

I use the locate command in Terminal regularly. When does its database get updated? On other systems, I could run updatedb as root to force it to update. Note: I know using mdfind to search with ...
5
votes
4answers
2k views

Automatically quit Terminal when typing exit

Scenario I use terminal to SSH a lot, however would like the Terminal App to quit when the last Tab closes using exit. I already have the terminal window itself set to close on successful exit, ...
8
votes
5answers
2k views

Open new terminal window in current space, regardless of other open terminals in other spaces

When using Spaces on Mac OS X trying to open a new terminal instance results in focus being pulled to whatever space has the most recently accessed terminal window. With Finder I can click on the ...
10
votes
2answers
31k views

How can I mount an SMB share from the command line?

I would like to mount an SMB network share from the command line (terminal); how would I go about that? I am using Mac OS X 10.6.4.
7
votes
5answers
2k views

How can I Open Multiple Customized Terminal Shells?

How can I customized Terminal so that when I open the application it opens several shell tabs? If possible I would like to also have it run a different environment script for each tab. Example: Run ...
2
votes
2answers
1k views

How to skip system hotkeys when using terminal emacs?

I like to run GNU emacs in a Terminal window under Mac OS X 10.6.4. Unfortunately, whenever I hit a hot key for emacs I often "trip" on an OS X system hot key. For instance, when I hit ⌃ + space in ...
5
votes
4answers
2k views

Is there a way to remotely restart Finder (or wake-up the desktop) from SSH?

Over the last few months I've found my MacBook Pro is getting increasingly unwilling to wake-up if it's gone to sleep of it's own accord - not when I put it to sleep deliberately, but when the machine ...
0
votes
1answer
1k views

Multiple instances of the Mumble client

I have tried command that I found and it works for second and after that second client closes. open -na /Applications/Mumble.app Other command that I tryied with the same resul. ...
2
votes
2answers
992 views

On OS X Lion 10.7.4 in Terminal.app I cannot type `C-M-@` or `C-M-%`, why?

On my MacBook Pro running OS X Lion 10.7.4, there seems to be a keyboard issue. I first noticed this problem when I tried to use the default keybinding to execute mark-sexp and query-replace-regexp in ...
0
votes
0answers
35 views

Why can't I type 'e' in terminal?

It beeps when typing the lower case of e .Tried to change the VT100 mode, still doesn't work.
1
vote
2answers
35 views

How do I remove a directory that has a file with colon in it

I am trying to delete a directory with rm -rf however I keep getting the error Directory not empty. If I do an ls on the directory I see this message ls: HTML : CSS: No such file or directory. So it ...
1
vote
2answers
1k 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 ...
1
vote
3answers
506 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 ...