ls: group similar examples together

This commit is contained in:
Romain Prieto
2014-03-02 18:30:07 +11:00
parent 2ce25641cf
commit 5686665639

View File

@@ -6,9 +6,9 @@
`ls -a` `ls -a`
- Sorting by size - List all file names (no extra info)
`ls -s` `ls -A1`
- List all files with their rights, groups, owner - List all files with their rights, groups, owner
@@ -18,13 +18,12 @@
`ls {{prefix}}*` or `ls *{{suffix}}` `ls {{prefix}}*` or `ls *{{suffix}}`
- Sort files by time - Sort the results size
`-t` for last modified `ls -s # by size`
`-U` for date of creation `ls -t # by last modified date`
`-r` reverses the list `ls -U # by creation date`
`ls -tr`
- List all filenames (one per line) without extra stuff like sizes and dates - Reverse the order of the results
`ls -A1` `ls -r`