Skip to content

Commit e12fbc6

Browse files
3.8 Changing Directories: Add example to return to home
1 parent 64afc69 commit e12fbc6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/the_terminal/changing_directories.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@ $ pwd
2222
/Users
2323
```
2424

25-
[^cd]: Short for "change directory"
25+
IF you want to go to your "home" directory, you do not pass any arguments or write `~`.
26+
```bash
27+
$ pwd
28+
/home/user/Documents
29+
$ cd
30+
$ pwd
31+
/home
32+
```
33+
34+
[^cd]: Short for "change directory"

0 commit comments

Comments
 (0)