Ls: Difference between revisions
From Leechfinger
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
=== Newest files first === | === Newest files first === | ||
<syntaxhighlight lang="bash">$ ls -lt</syntaxhighlight> | <syntaxhighlight lang="bash">$ ls -lt</syntaxhighlight> | ||
=== File size and sort === | |||
<syntaxhighlight lang="bash">$ ls -sSh</syntaxhighlight> | |||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 17:35, 3 May 2025
Show only directories
$ ls -d */
Newest files first
$ ls -lt
File size and sort
$ ls -sSh