62.1k views
1 vote
What do you type in to move to the parent directory of current directory?

User Asys
by
8.0k points

2 Answers

4 votes

Answer:

To go up one level of the directory tree, type the following: cd .. The special file name, dot dot ( .. ), refers to the directory immediately above the current directory, its parent directory.

Step-by-step explanation:

User Furykid
by
6.5k points
3 votes

Answer:

cd path-to-directory: This command, when preceded by a path, allows you to navigate to a specific directory (such as a directory named documents ). cd .. (two dots) (two dots). Because the.. denotes "the parent directory" of your current directory, you can use cd.. to travel back (or up) one directory.

Step-by-step explanation:

User Channae
by
7.0k points