1
0
Fork 0
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:
Managor 2024-10-02 13:16:17 +03:00 committed by GitHub
parent 80c7a83e8b
commit cb6db97548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/common/~.md Normal file
View 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 ~-`