Changing a working directory with cd command
It is possible to change current working directory with cd command. cd stands for change directory.
It is possible to specify full or relative path of directory.
Full path will be the location of that directory in from the starting location, which is / (forward slash) in Linux.
Relative path is location of that directory from the current location of the user.
Going back a directory level can be specified with .. (two dots). It is possible to specify more than one double dot. Each double dot needs to be separated by forward slash symbol. In this case a user will go back as many levels as many double dots symbols are specified.
Comments
Post a Comment