qe6lyw
Last Updated: February 25, 2016
·
360
· devatotech

Terminal Shortcuts on Mac

To jump around and quickly in the command line, try some of these shortcuts to save time and your arrow keys:

  • Ctrl+A - returns cursor to the beginning of current line.
  • Ctrl+E - moves cursor to the end of the line.
  • Ctrl+K - deletes the rest of the line, beginning from the cursor.
  • Ctrl+U - clears the entire line so you can type in a completely new command.
  • Ctrl+W - deletes the word before the cursor only.
  • Ctrl+R - lets you search your command history for something specific. For example, if you wanted to search for the recent commands that included nano, you would hit Ctrl+R and type nano. It would show your most recent command, and you could use the up and down arrows to cycle through your history of commands using nano in them.