Sign up to create your own snipts, or login.

Public snipts » mikekey's snipts » Moving around in bash

posted on Jan 06, 2010 at 4:04 p.m. EST in 
  • Line Navigation:
    Ctrl-E == end of line
    Ctrl-A == beginning of line
    Ctrl-K == Delete from cursor to end of line
    
    or if you are wise, just use vi for command history:
    $ set -o vi
    
    Then you can just use all your friendly neighborhood vi commands on your command line.
    
    Command History:
    up arrow == previous command
    down arrow == next command (if already in history)
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.