cd |
Linux Commands - Basic Commands |
cdChange directory. Examples: cd By simply typing cd it will take you to your home directory. You could also go to your home directory by typing:
cd ~ cd /home/fred This command would take you to the directory fred located in the home directory. If you were in the /home/fred directory and knew that there was another directory in /home/fred called work you could enter that directory one of two ways:
cd /home/fred/work
or
cd work
Notice that there is no leading /.
|