Call Montréal, Canada 524-949-6869

Blog

Monday, October 18, 2010

Unix History Commands

!! : to run the previous command 
^P : move up through history list, one command at a time. (Up arrow key) 
^N : move down (or Down arrow key). 
!n : run nth command in history list. where n is a number from your history list. 
!n:p : only preview command number n (will not execute the command). 
!string : Run most recent command starting with characters in st

Source

Developing Ruby on Rails applications and custom Content Management Systems in Montréal. Contact Firsthand.