Skip to main content

Top 50 Linux Commands you want to Know as a daily User


1. ls - view contents of directory (list)
2. pwd - path of the present directory
3. cd - change directory
4. mkdir - make new directory
5. mv - move files / rename files
6. cp - copy files
7. rm - remove files
8. touch - create blank new file
9. rmdir - delete directory
10. cat - list content of file to terminal
11. clear - clear terminal window
12. echo - move data into a file
13. less - Read text file one screen at a time
14. man - show manual of Linux commands
15. sudo - enables you to perform tasks that need administrative or root permissions
16. top - task manager in terminal
17. tar - want to archive multiple files into a tarball
18. grep - want to searching words in specific files
19. head - view first lines of any document 
20. tail - view last lines of any document 
21. diff - compares the contents of two files line by line
22. kill - used for killing unresponsive program
23. jobs - display all current jobs along side their statuses
24. sort - may be a instruction utility for sorting lines of text files
25. df - info about system disk
26. du - check what proportion space a file or directory takes
27. zip - to compress your files into a zip archive
28. unzip - to extract the zipped files from a zip archive
29. ssh - a secure encrypted connection between two hosts over and insecure network
30. cal - shows calendar
31. apt - command line tool for interaction with packaging system
32. alias - custom shortcuts want to represent a command
33. w - current user info
34. whereis - want to locate the binary, source, manual page files
35. whatis - used to get one-line man page description
36. useradd - used to create a new user
37. passwd - want to changing password of current user
38. whoami - print current user
39. uptime - print current time when machine starts
40. free - print free disk space info
41. history - print used commands history
42. uname - print detailed information about your Linux system
43. ping - to see connectivity status to a server
44. chmod - to change permissions of files and directories
45. chown - to vary ownership of files and directories
46. find - using find searches for files and directories
47. locate - used to locate a file, just like the search command in Windows
48. ifconfig - print ip address stuff
49. ip a - similar to ifconfig but shortest print
50. finger - gives you a brief dump of information a user

Comments

Popular posts from this blog

Linux as Operating System

 Reasons to choose Linux as your next OS over any other. If you need reliability on servers that run the internet or storing all the cloud data, Linux is the only way to go. To add strength to the above statement, even Microsoft itself uses Linux to fuel the Azure cloud services.  1. Freedom  No licensing required nor specific hardware is required to use the Linux operating system. There are thousands of people continuously submitting new code and features, apply fixes to improve the existing program. Thus contributing to the global community. The other reason for Linux to be of free use, till date is the Linux Foundation which is backed by Google, Microsoft, Intel, IBM, many more. The main goal of the Linux Foundation is to standardize Linux, support its growth, and prompt commercially.   2.   Software Management Linux uses package managers like apt, Pac-man, rpm, along with many others.  Package managers automate the install and uninstall process for soft...