Difference between revisions of "bash"

 
Line 2: Line 2:
  
 
==Shortcuts==
 
==Shortcuts==
* ctrl-r
+
* ctrl-r (Reverse search in command history. Tab to complete command.)
* tab
+
* tab (Tries to complete what ever you have typed in.)
 
* !$
 
* !$
 
* !!
 
* !!

Revision as of 09:31, 14 August 2007

Bash shell tricks

Shortcuts

  • ctrl-r (Reverse search in command history. Tab to complete command.)
  • tab (Tries to complete what ever you have typed in.)
  •  !$
  •  !!

For Loops

for i in * ; do echo $i ; bzip2 $i ; done



Retrieved from "http://aboutus.com/index.php?title=bash&oldid=8863013"