linux

User Login

User Name
Password
   
Forgot Password                  Sign Up

What's up ?

We value your feedbacks,ideas and your articles.Please navigate to the following links.

  • Feedback
  • I have an Idea
  • Advertise
  • The Article

    Would you like to post an article on this web site, then please navigaet here to do that.

    Submit an article

    Newletter SignUp

    Please register to receive a Newsletter.

    Register Here

    Linux Directory Commands

    To change directories from your current working directory in linux, use the command cd.

    cd /etc/

    The above command changes directories to the /etc/ directory. The second word on the command line must be a path. It can either be relative or absolute, and can move one directory or many.In linux if cd is entered with just no options it moves to the home directory of the user.

    Options with cd

    cd — Returns you to your login directory

    cd - — Returns you to your previous working directory

    cd ~ — Also returns you to your login directory

    cd / — Takes you to the entire system's root directory

    cd /root — Takes you to the home directory of the root user.Only a root user can access this /root directory

    cd /home — Takes you to the home directory, where user login directories are usually stored

    cd .. — Takes you to the home directory of present working directory.