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