cd 
cd (change directory): This command is used to change the directory
> cd newdir  
  To change the current directory to newdir
>  “cd” / “cd ~”
  To change the current directory to home directory.
> cd -
  To change directory to previous working directory
> cd ..
  To change directory to the parent directory.
> cd ~username
  To change the current directory to username’s home directory.
> cd <pattern1> <pattern2>
  To change the current directory to a directory 
with  difference in one of the intermediate directory’s 
name
  Ex:  FROM  directory  “/home/myChar/dir”
To directory  “/home/myInt/dir” 
Command
 > cd Char Int        
No comments:
Post a Comment