cd command is used to change directories from the terminal:
nmurgor@nmurgor:~$ cd www/myblog # switched to www/myblog nmurgor@nmurgor:~/www/myblog$
cd command switches the current working directory to the specified
www/myblog from (
~) which resolves to the user’s home path.
Note: The directory to change to should be a valid directory and should be an absolute or relative path. Learn about absolute and relative paths in this article
Found this article helpful? You may follow me on Twitter where I tweet about interesting topics on software development.