- !! #Execute the previous command. (Cool command learned from David)
- Ctrl +A #Go to the head of the command line
- Ctrl +E #Go to the end of the command line
- Ctrl +P #Show the previous command
- history #Show the latest 500 commands
- :w !sudo tee % #In vim, edit text file but did not use sudo and can not save the modified file.