Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,37 +1,34 @@
|
||||
# ls
|
||||
|
||||
> List directory contents
|
||||
> List directory contents.
|
||||
|
||||
- List all files, even hidden
|
||||
- List all files, even hidden:
|
||||
|
||||
`ls -a`
|
||||
|
||||
- List all file names (no extra info)
|
||||
- List all file names (no extra info):
|
||||
|
||||
`ls -A1`
|
||||
|
||||
- List all files with their rights, groups, owner
|
||||
- List all files with their rights, groups, owner:
|
||||
|
||||
`ls -l`
|
||||
|
||||
- List all files and display the file size in a human readable format
|
||||
- List all files and display the file size in a human readable format:
|
||||
|
||||
`ls -lh`
|
||||
|
||||
- List all files with a prefix/suffix
|
||||
- List all files with a prefix/suffix:
|
||||
|
||||
`ls {{prefix}}*`
|
||||
|
||||
`ls *{{suffix}}`
|
||||
|
||||
- Sort the results by size, last modified date, or creation date
|
||||
- Sort the results by size, last modified date, or creation date:
|
||||
|
||||
`ls -S`
|
||||
|
||||
`ls -t`
|
||||
|
||||
`ls -U`
|
||||
|
||||
- Reverse the order of the results
|
||||
- Reverse the order of the results:
|
||||
|
||||
`ls -r`
|
||||
|
Reference in New Issue
Block a user