[7] Advanced and Useful Linux — Ubuntu Commands

List of Advanced Linux commands

1. sudo

2. vi (Vim Editor)

  • Press i : Used to enter insert mode in Vim editor. Use the Esckey to exit out of insert mode.
  • Press dd : Delete a line quickly.
  • Press yy : Copy a line/lines inside the editor.
  • Press p/P : Paste command
  • Press u : Undo command
  • Press Ctrl+r : Redo command
  • Press :wq : Save and quit Vim editor.
  • Press :q : Quit Vim editor without saving a file.

3. cat

cat /etc/passwd

4. useradd

useradd username

5. passwd

passwd username

6. userdel

userdel username

7. whatis

whatis <command>
  • whatis cd
  • whatis man
  • whatis help



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Siddharth Rastogi

Siddharth Rastogi


I am a full stack developer, I have an expertise in Web Development. I write tech stuff and share my knowledge with others with the help of articles.