Linux Commands
1. ls
ls # list the contents of the current directory
ls -l # list the contents of the current directory in long format
ls -a # list the contents of the current directory including hidden files
ls -la # list the contents of the current directory in long format including hidden files2. cd
cd # change the current working directory to the home directory
cd / # change the current working directory to the root directory
cd /home # change the current working directory to the home directory
cd Documents # change the current working directory to the Documents directory of the user
cd .. # change the current working directory to the parent directory
cd ../.. # change the current working directory to the grandparent directory3. grep
4. su/ sudo
5. pwd
6. mv
7. cp
8. rm
9. mkdir
10. rmdir
11. chmod
12. cat
13. chown
14. echo
15. wc
16. man
17. history
18. clear
19. touch
20. locate
21. netstat
22. df
23. du
24. uname
25. passwd
26. useradd
27. userdel
28. apt-get
29. ping
30. find
31. head
32. rename
33. tail
34. tac
35. comm
36. cut
37. sort
38. date
39. cal
40. time
41. host
42. wget
43. id
44. ps
45. top
46. kill
47. pkill
48. killall
49. bg
50. fg
51. tar
52. gzip
Last updated