1
0
Fork 0
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:
blalyasar 2021-05-14 03:40:50 +03:00 committed by GitHub
parent f6ebb40107
commit 40e478add9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -30,3 +30,7 @@
- Long format list of all files, sorted by modification date (oldest first):
`ls -ltr`
- Only list directories:
`ls -d {{*/}}`

View file

@ -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}}`