Any tips for surviving Terminal.app

command lineosx

I've recently switched to using a Mac full-time, and am having trouble getting used to Terminal.app after years of loving gnome-terminal. I miss having URLs show up underlined, using alt+arrow to move between words, and having screen+ssh behave the way I'm used to it.

I'm trying to get used to the following key combinations to survive in Terminal.app:

  • AltB to go back a word
  • AltF to go forward a word
  • AltA to go to the beginning of a line
  • AltE to go to the end of a line
  • you can still right-click on a URL to open it, it just doesn't look pretty like in gnome-terminal

Does anyone have any other good tips or alternative terminal suggestions to retain command line efficiency on a Mac?

Best Answer

You can install gnome terminal on mac os X using fink, or other unix package tool available on the mac. You will have to have X11 running though which may not be ideal, depending on your needs. Also, I'd suggest learning actual shell specific commands for moving around in a terminal, as those will generally be the same regardless of the terminal emulator you are using. That is, as long as you have a bash shell, Ctrl-a will get you to the beginning of a line in any terminal (gnome terminal, kterm, xterm, rxvt, etc.) assuming that they aren't doing something silly like stealing your control characters!

As noted in other answers, there are also other terminal alternatives for MacOS - iterm2 being a commonly used one.

Related Question