Filter Blog Posts By:
all posts (default)
general
bash scripting
mac
plain text
reading
travel
windows
www
Info:
©Jim Brown
all posts (default)
general
bash scripting
mac
plain text
reading
travel
windows
www
Info:
©Jim Brown
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 - delete from cursor to beginning of line
^K - delete from cursor to end of line
^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