mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 21:02:22 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/~
Normal file
21
tldr/~
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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