cd -
cd stands for 'change directory' and as the name suggests you can change your directory with help of this command.
i. E.g. - cd /home
If you hit the above command you will land in '/home' directory. Like this you can switch to any other directories in your system, you just need to write the path of the directory with cd command.
syntax - cd /<path_of_directories>
ii. E.g. - cd ..
This is another use of 'cd' command, if you write 'cd ..' in your terminal you will land in a previous directory of your current directory. You don`t need to pass any path with this option.
iii. E.g. - cd ../..
Now with this option you will land in pre
cd stands for 'change directory' and as the name suggests you can change your directory with help of this command.
i. E.g. - cd /home
If you hit the above command you will land in '/home' directory. Like this you can switch to any other directories in your system, you just need to write the path of the directory with cd command.
syntax - cd /<path_of_directories>
ii. E.g. - cd ..
This is another use of 'cd' command, if you write 'cd ..' in your terminal you will land in a previous directory of your current directory. You don`t need to pass any path with this option.
iii. E.g. - cd ../..
Now with this option you will land in pre
No comments:
Post a Comment