This commit is contained in:
Michael Hienle 2018-11-07 23:54:57 +01:00 committed by chad d
parent 75ba17605d
commit 2bef29186d
1 changed files with 10 additions and 0 deletions

10
bash.md
View File

@ -637,6 +637,16 @@ read -n 1 ans # Just one character
See [Special parameters](http://wiki.bash-hackers.org/syntax/shellvars#special_parameters_and_shell_variables). See [Special parameters](http://wiki.bash-hackers.org/syntax/shellvars#special_parameters_and_shell_variables).
### Go to previous directory
```bash
pwd # /home/user/foo
cd bar/
pwd # /home/user/foo/bar
cd -
pwd # /home/user/foo
```
## Also see ## Also see
{: .-one-column} {: .-one-column}