mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:46:00 +02:00
ls, touch: add examples (#5855)
This commit is contained in:
parent
f6ebb40107
commit
40e478add9
2 changed files with 8 additions and 0 deletions
|
@ -30,3 +30,7 @@
|
|||
- Long format list of all files, sorted by modification date (oldest first):
|
||||
|
||||
`ls -ltr`
|
||||
|
||||
- Only list directories:
|
||||
|
||||
`ls -d {{*/}}`
|
||||
|
|
|
@ -14,3 +14,7 @@
|
|||
- Use the times from a file to set the times on a second file:
|
||||
|
||||
`touch -r {{filename}} {{filename2}}`
|
||||
|
||||
- Create multiple files:
|
||||
|
||||
`touch {{file{1,2,3}.txt}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue