Shell Example To Change Directory

RegisterLogin
Shell Example To Change Directory
Post Description: Shell Example To Change Directory
Tags: Shell, Example, To, Change, Directory
This Post Was Posted On Apr 25, 2009 By cotat4 #2245
can you give the command to use for chaning directories?

im very new to linux but im very happy with how i can use it so can you give shell example to change directory
Leave Your Comments
Web Hosting Support
#2313 1
try this

login to your server

when you are logged in as root try these commands:

pwd

this command will show you the where you currently are

it will probably say something like this:

/home/USER_NAME

* USER_NAME = whatever your username is

now you can change directory from /home/USER_NAME to lets say your web directory:

cd /var/www/html


now send pwd again and you will see that you changed directories to:
/var/www/html
Apr 25, 2009 Reply Report abuse
©2012 Webune Forums - Sat Dec 15, 2012 9:45 am
Powered by: Webune Forums V3