Top 51 Linux commands for daily use

Normal Linux user knows almost all the basic Linux commands to perform normal task such as installing any application, copying files , etc. But in this blog Iam going to list 51 essential Linux commands which can be useful for every Linux user right from the noobs to the professional Linux developers and system administrators.

1.ls Directory listing
2.ls -al Formatted listing with hidden files
3.ls -lt Sorting the Formatted listing by time modification

  1. cd dir Change directory to dir
  2. cd Change to home directory
  3. pwd Show current working directory
  4. mkdir dir Creating a directory dir
  5. .cat >file Places the standard input into the file
  6. .more file Output the contents of the file
  7. head file Output the first 10 lines of the file
  8. tail file Output the last 10 lines of the file
  9. tail -f file Output the contents of file as it grows,starting with
  10. the last 10 lines
  11. touch file Create or update file
  12. rm file Deleting the file
  13. rm -r dir Deleting the directory
  14. rm -f file Force to remove the file
  15. rm -rf dir Force to remove the directory dir
  16. cp file1 file2 Copy the contents of file1 to file2
  17. cp -r dir1 dir2 Copy dir1 to dir2;create dir2 if not present
  18. mv file1 file2 Rename or move file1 to file2,if file2 is an existing
    directory
  19. netstat – for network statistics.
  20. ss – utility to investigate sockets.
  21. atop – For Linux server performance analysis.
  22. Glances and nmon – htop and top Alternatives:
  23. ssh – secure command-line access to remote Linux systems.
  24. sudo – execute commands with administrative privilege.
  25. cd – directory navigation.
  26. pwd – shows your current directory location.
  27. cp – copying files and folders.
  28. mv – moving files and folders.
  29. rm – removing files and folders.
  30. mkdir – create or make new directories.
  31. touch – used to update the access date and/or modification date of a computer file or directory.
  32. man – for reading system reference manuals.
  33. apropos – Search man page names and descriptions.
  34. rsync – remote file transfers and syncing.
  35. tar – an archiving utility.
  36. gzip – file compression and decompression.
  37. b2zip – similar to gzip. It uses a different compression algorithm.
  38. zip – for packaging and compressing (to archive) files.
  39. locate – search files in Linux.
  40. ps – information about the currently running processes.
  41. Making use of Bash scripts. Example: ./bashscript.sh
  42. cron – set up scheduled tasks to run.
  43. nmcli – network management.
  44. ping – send ICMP ECHO_REQUEST to network hosts.
  45. traceroute – check the route packets take to a specified host.
  46. mtr – network diagnostic tool.
  47. nslookup – query Internet name servers (NS) interactively.
  48.  dig- DNS lookup utility.