Tuesday, October 22, 2013

Shell comand

`cd -` -  toggle between current and last folder
`sudo !!` - run previous command with `sudo`
` <comand>` - without saving to history (space before comand)
`>file.txt` - create new or clean old file
`^foo^bar` - replace in previous command `foo` to `bar`

 
 
Blogger Templates