Useful Linux Commands

Linux brings the most powerful CLI commands which gives you power do most of the task in very less time then GUI. You can use all the linux commands from OS terminal or from remote ssh client, or for scripting and hacking the servers. Below are the few linux commands which are important and most frequently used by the users.

  • cat – Concatenate and print (display) the content of files
  • cd – Change Directory
  • chgrp – Change group ownership
  • chmod  – Change access permissions
  • chown  – Change file owner and group
  • clear – Clear terminal screen
  • cp – Copy one or more files to another locationd
  • date – Display or change the date & time
  • dir – Briefly list directory contents
  • exit – Exit the shell
  • find  – Search for files that meet a desired criteria
  • format – Format disks or tapes
  • ftp – File Transfer Protocol
  • grep – Search file(s) for lines that match a given pattern
  • groupadd – Add a user security group
  • groupdel – Delete a group
  • groupmod – Modify a group
  • groups – Print group names a user is in
  • gzip – Compress or decompress named file(s)
  • help – Display help for a built-in command
  • history – Command History
  • hostname – Print or set system name
  • ifconfig – Configure a network interface
  • ifdown – Stop a network interface
  • ifup – Start a network interface up
  • kill – Stop a process from running
  • killall – Kill processes by name
  • logout – Exit a login shell
  • make – Recompile a group of programs
  • man – Help manual
  • mkdir – Create new folder(s)
  • mv – Move or rename files or directories
  • netstat – Networking information
  • nslookup – Query Internet name servers interactively
  • passwd – Modify a user password
  • ping – Test a network connection
  • pkill – Stop processes from running
  • printf – Format and print data
  • ps – Process status
  • pwd – Print Working Directory
  • rar – Archive files with compression
  • rcp – Copy files between two machines
  • readonly – Mark variables/functions as readonly
  • reboot – Reboot the system
  • rename – Rename files
  • rm – Remove files
  • rmdir – Remove folder(s)
  • scp – Secure copy (remote file copy)
  • sftp – Secure File Transfer Program
  • shutdown – Shutdown or restart linux
  • sleep – Delay for a specified time
  • ssh – Secure Shell client (remote login program)
  • su – Substitute user identity
  • sudo – Execute a command as another user
  • tail – Output the last part of file
  • tar – Store, list or extract files in an archive
  • touch – Change file timestamps
  • top – List processes running on the system
  • traceroute – Trace Route to Host
  • unrar – Extract files from a rar archive
  • useradd – Create new user account
  • userdel – Delete a user account
  • usermod – Modify user account
  • users – List users currently logged in
  • vi – Text Editor
  • who – Print all usernames currently logged in
  • whoami – Print the current user id and name (`id -un’)
  • wget – Retrieve web pages or files via HTTP, HTTPS or FTP
  • zip – Package and compress (archive) files.
  • .  – Run a command script in the current shell
  • !! – Run the last command again

So All the linux commands are with you now. Practice them daily and they will be embedded in your mind. They will be very useful for any task which you want to perform on your Linux machine, or on a remote server. Other than this they are the most frequently asked linux commands in the job interviews. So all yours, just keep them in your memory and make best use of them.

Note: Please comment below to provide feedback about the post. If you have any query then also please feel free to ask by commenting below. We will bring you the best and the latest 🙂 .

Related Posts

3 thoughts on “Useful Linux Commands

  1. Great goods from you, man. I have take into account your stuff prior to and you are just extremely magnificent. I actually like what you’ve received right here, certainly like what you are saying and the best way during which you assert it. You make it entertaining and you continue to care for to stay it sensible. I cant wait to read much more from you. This is really a wonderful web site.|

  2. This is a memo to the admin. I came to your page via Yahoo but it was hard to find as you were not on the front page of search results. I know you could have more traffic to your site. I have found a site which offers to dramatically increase your rankings and traffic to your site: http://anders.ga/-fn4j I managed to get close to 1000 visitors/day using their services, you could also get many more targeted traffic from Google than you have now. Their services brought significantly more traffic to my site. I hope this helps!

Leave a Reply to moving interstate Cancel reply

Your email address will not be published. Required fields are marked *