Monday, June 20, 2011

Change directory

The cd (Change Directory) command, changes the current working directory to the one specified immediately after the command, ex


[ray@domain ~]$ cd /home/ray/Movies
[ray@domain Movies]$


Used with ~ or by itself it returns you to your home directory.


[ray@domain Movies]$ cd ~/
[ray@domain ~]$


You can move to the directory´s parent by using cd .. command


[ray@domain ~]$cd ..                          
[ray@domain home]$                           

No comments:

Post a Comment