Tricks Bang Bang: Used to execute the perviously executed command we can enter > !! < kali@kali:~/Documents$ pwd /home/kali/Documents kali@kali:~/Documents$ !! pwd /home/kali/Documents To run using root access just add sudo with !! kali@kali:~/Documents$ sudo !! Cut and Yank: Ctrl+k --- Cut Command from cursor to end Ctrl+u --- Cut the Line from the cursor to the beginning of line Application of Cut and Yank: Suppose you executed an command and you forgot to add something at the the beginning of line, in this case- Ctrl+u <add your line> Ctrl+y