Wiki source code of How to Deal with Working Directory in Console
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | In console, typing: |
2 | |||
3 | {{code}} | ||
4 | pwd | ||
5 | {{/code}} | ||
6 | |||
7 | prints the full path of your working directory. | ||
8 | |||
9 | Typing: | ||
10 | |||
11 | {{code}} | ||
12 | cd X | ||
13 | {{/code}} | ||
14 | |||
15 | changes your working directory to X. X must be inside the original working directory in which you type the command. | ||
16 | |||
17 | Typing: | ||
18 | |||
19 | {{code}} | ||
20 | cd .. | ||
21 | {{/code}} | ||
22 | |||
23 | changes your working directory to the parent directory of the working directory in which you type the command. | ||
24 | |||
25 | If you are not sure what directories are in the current working directory, you canĀ [[list the things in the current working directory>>doc:Main.How to List Files and Directories in console.WebHome]]. |