This command enables you to change to the directory you want.
[joe@server /root]$ cd /home/joe/htdocs
This command will bring you to the directory /home/joe/htdocs .
And the prompt will become:
Note that you may not be able to access certain files for directories. This is a security feature to prevent unauthorised personnel from accessing your webpages.