Linux Basic commands

  1. ls: list directory contents. (ls -l)
  2. ls -a: To show hidden file [ls -l -a,    ls -la,    ls -al]
  • ls -t :List files by time
  • ls -r :Reverse order.
  • ls -latr : long listing including all files reverse sorted by time.
  1. cd: changes the current directory.
  2. pwd: Display the present working directory.
  3. cat: Concatenates and displayed files contents.
  4. echo:  Displayed the arguments to the display.
  5. man: Display the online manual.
  6. exit: Exits the shell or your current session.
  7. clear: clear the screen.
  8. g: Move to the top of the page
  9. G: Move to bottom of the page.
  10. q: Quit
  11. “.” this directory
  12. “..” parent directory
  13. “cd -” previous directory
  14. “/” Directory separator 

To view or add a comment, sign in

Others also viewed

Explore topics