Added prefix/suffix and time sorting
This commit is contained in:
11
osx/ls.md
11
osx/ls.md
@@ -13,3 +13,14 @@
|
|||||||
- List all files with their rights, groups, owner
|
- List all files with their rights, groups, owner
|
||||||
|
|
||||||
`ls -ls`
|
`ls -ls`
|
||||||
|
|
||||||
|
- List all files with a prefix/suffix
|
||||||
|
|
||||||
|
`ls {prefix*}` or `ls {*suffix}`
|
||||||
|
|
||||||
|
- Sort files by time
|
||||||
|
|
||||||
|
`-t` for last modified
|
||||||
|
`-U` for date of creation
|
||||||
|
`-r` reverses the list
|
||||||
|
`ls -tr`
|
||||||
|
Reference in New Issue
Block a user