mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 19:05:59 +02:00
Added prefix/suffix and time sorting
This commit is contained in:
parent
08949598fa
commit
0f7d2ba6df
1 changed files with 11 additions and 0 deletions
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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue