The terminal emulator included in Mac OS X.
Questions tagged [terminal.app]
411 questions
450
votes
13 answers
Mac OS X equivalent of the Ubuntu "tree" command
Is there an equivalent to the Ubuntu tree command for Mac OS X?
Misha Moroshko
- 7,423
- 9
- 26
- 31
254
votes
4 answers
How can I install 7zip so I can run it from Terminal on OS X
I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
Paul Sheldrake
- 4,894
- 11
- 34
- 30
129
votes
4 answers
ip command in Mac OS X terminal
I use the command ip link in Linux. Now I want it on Mac OS X, but the Mac OS X terminal doesn't have ip. What should I use instead?
Aryan
- 1,393
- 2
- 9
- 6
109
votes
4 answers
What's the difference between ^C and ^D for UNIX/Mac OS X terminal?
When I try to stop something, I use ^C and sometimes ^D in terminal.
What's the difference between the two? Why some program doesn't respond to ^C, but ^D.
Why the Terminal.app just quits when I use ^D?
prosseek
- 5,794
- 21
- 59
- 78
93
votes
1 answer
Undo OS X terminal window split
I constantly split my terminal windows accidentally by pressing Cmd+D (it's so close to Cmd+F). I have no idea how to undo this. Any ideas?
Peter Berg
- 1,075
- 1
- 8
- 6
93
votes
7 answers
How to have full directory path always shown in mac terminal (like linux terminal)
In my ubuntu terminal I have always current directory shown completely. Just like this:
blabla@blublu:~/music/my_album/classical/beethoven$
But in my Mac (Mac OS X 10.6.5) terminal does not show the full path and it is like…
Pouya
84
votes
7 answers
Mac OS X Terminal: mouse support?
Is there a native option (ie. without installing extra soft/package/plugins) to enable mouse support in the Terminal app?
Actually, I'm using a lot vim with the option set mouse=a (activating mouse features).
But it seems that Terminal doesn't…
avetis.kazarian
- 2,546
- 2
- 20
- 20
80
votes
9 answers
Setting iTerm2 as the default terminal (OSX Lion)
I would like to set iTerm2 instead of terminal.app as my default terminal.
Go2Shell for example let you open a terminal to the current directory in Finder.
I want to ba able to use iterm2 instad of terminal.app.
I didn't find any answer on the…
politicus
- 997
- 1
- 8
- 11
77
votes
7 answers
Set the title of the terminal window to the current directory
How can I get the Terminal.app in OS X to display the current directory in its window or tab title?
I'm using the bash shell.
kareman
- 881
- 1
- 7
- 7
77
votes
2 answers
How can Homebrew print a beer mug in Terminal?
Homebrew has a neat trick of printing out little icons next to its output. Like this:
If I copy paste the icon it on its own and hit enter I get the result:
-bash: $'?\237\215?': command not found
And if I try it with echo or printf I just get…
stib
- 4,269
- 6
- 27
- 38
59
votes
1 answer
How to use Terminal to delete all .svn folders recursively?
What command can I type into the Terminal so that I can delete all .svn folders within a folder (and from all subdirectories) but not delete anything else?
Mikey
- 1,651
- 2
- 22
- 27
53
votes
7 answers
Using the Terminal keybindings with bash on macOS
I have been trying to learn the keyboard shortcuts for the shell on macOS, but when I tried using ALT+B, it did not work.
How do you discover, configure and use keybindings in the shell? Any cheatsheets would be helpful.
Open the way
- 8,283
- 13
- 49
- 69
52
votes
3 answers
Use terminal scrollbar with tmux
I know how to scroll in tmux using the keyboard, but I noticed that it looks like there's a way to use the terminal scrollbar with GNU Screen. Can this be done with tmux?
Jeff
- 1,767
- 2
- 14
- 21
52
votes
7 answers
Copy colored output from Mac OS X terminal
I see a nicely colored output in my terminal.
The terminal has a "Export Text As" command but it saves a plain-text file without the colors. Same with copy&paste.
Do you know a way to save terminal output including colors?
Wojtek Kruszewski
- 1,482
- 1
- 12
- 14
40
votes
1 answer
What does Terminal app's "Show Alternate Screen" do? (OS X)
Today, I discovered a menu item called "Show Alternate Screen" in Terminal.app. I am just curious about what it does. It seems to be sharing the same shell process (unlike tabs), since I see output from one screen on the other while a command is…
Barum Rho
- 565
- 5
- 8