diff --git a/pages/common/ls.md b/pages/common/ls.md index caa3756cf0..29f6862ec8 100644 --- a/pages/common/ls.md +++ b/pages/common/ls.md @@ -30,3 +30,7 @@ - Long format list of all files, sorted by modification date (oldest first): `ls -ltr` + +- Only list directories: + +`ls -d {{*/}}` diff --git a/pages/common/touch.md b/pages/common/touch.md index 75864e3400..5f828fae5a 100644 --- a/pages/common/touch.md +++ b/pages/common/touch.md @@ -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}}`