Filter By:
all posts (default)
general
bash scripting
mac
plain text
reading
travel
windows
www

Info:
©Jim Brown

Comment

Weblog (or Blog)


Wednesday, May 15, 2019

Keyboard Shortcuts for Terminal

These shortcuts apply to macOS Terminal. They may work in other bash shells, but I don't know.

^ = control key

^A - move cursor to beginning of line
^E - move cursor to end of line
^U - erase line
^K - delete from cursor to EOL
^R - search command history. Press again to find next.

cd - - toggle between paths
!! - paste last command
!<command name> - repeat last command using <command name>
!$ - paste arguments from last command
^<text>^<replacement> - replace <text> in last command

posted at: 11:27 | path: /bash | permanent link



Comment

powered by blosxom