~: add page (#13904)
This commit is contained in:
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 ~-`
|
Reference in New Issue
Block a user