Linux Life Saver Commands

60
rate or flag this page

By aniketgore

Linux have became a style these days. If you know Linux, you own a style, also it is famous on server systems as well as on desktop systems for its stability. But Linux is considered difficult because of the commands of Linux. Today all major distributions like Ubuntu, Fedora can be worked upon without running  single command. But several time few commands are life-saver for users. Here we will list down few of those commands.


Linux Commands

man <command name>
man is the mother of all commands. Whatever you want just type man <command name> you will get everything regarding it.
Man is life-saver in server environments. Sometimes you don't know what the command will do and back off because of lack of knowledge. Don'T do it just use man.

pwd
Confused about where are you? Finding it difficult to remember where to go? pwd is the command for you. pwd tells you about your current directory.


 ls
      Want to know whats inside a directory. Try ls. ls will list down everything present in current directory.
      ls -a will show hidden directories and files.
      ls -l will tell about size,permissions and many more things on files.

     ps
      Want to know whats running on your system? Use ps. It will tell you which processes are running on your system.

     sudo su
      You know the root password but the root account is no-log-in set. Use sudo su to gain access to root privileges.

     touch
      Want to make a simple file but don't want to use a VI editor. Use touch command. It will simply make a file.

     mkdir
      mkdir will make a directory for you.

   rm
      rm can help you to remove the files on the system.

    adduser
      Want to add some users to your system. Simply use adduser <user name>. And you are done.

     passwd
      Added user but dont know how to set a password for it. Just use passwd <user name> and you are set.

     ifconfig
      Want to know about ip address of your system. Use ifconfig and you will get all the information.

     netstat
      Want to know what all network activities going on your system? Use netstat and get all the updates, about the network activities.

     init 3
      Want to reatsrt pc but restart isnt working. Use init 3 . Your system will be restarted to normal mode instantly.

I will be updating this list. So keep Watching this space.

Comments

RSS for comments on this Hub

Lgali profile image

Lgali  says:
6 months ago

thanks for all commands Good hub

anthony  says:
6 months ago

good hub. i think linux is ur favourite

apeksha profile image

apeksha  says:
6 months ago

hey many subs I were supposed to wrte on....

brad4l profile image

brad4l  says:
5 months ago

Cool Hub, these are definitely some Linux commands that are very important and that I use on a daily basis, although I typically just go ahead and enable root, instead of using sudo su...

sara  says:
5 months ago

nice hub and good information

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working