mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
~: add page (#13904)
This commit is contained in:
parent
80c7a83e8b
commit
cb6db97548
1 changed files with 16 additions and 0 deletions
16
pages/common/~.md
Normal file
16
pages/common/~.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Tilde
|
||||
|
||||
> Expand to a directory.
|
||||
> More information: <https://gnu.org/software/bash/manual/bash.html#Tilde-Expansion>.
|
||||
|
||||
- List the current user's home directory contents:
|
||||
|
||||
`ls ~`
|
||||
|
||||
- List the home directory contents of another user:
|
||||
|
||||
`ls ~{{username}}`
|
||||
|
||||
- List the contents of the previous directory you were in:
|
||||
|
||||
`ls ~-`
|
Loading…
Add table
Reference in a new issue