Questions tagged [terminal.app]

The terminal emulator included in Mac OS X.

417 questions
493
votes
14 answers

Mac OS X equivalent of the Ubuntu "tree" command

Is there an equivalent to the Ubuntu tree command for Mac OS X?
272
votes
5 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?
143
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,533
117
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
  • 6,054
102
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,165
97
votes
8 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
86
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
  • 1,077
  • 1
  • 9
  • 12
85
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…
78
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
  • 891
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,389
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,691
56
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,817
  • 2
  • 15
  • 21
54
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
  • 9,221
53
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,557
  • 1
  • 12
  • 15
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
1
2 3
27 28