vimwiki/tech/ls.wiki
2021-10-10 23:22:53 -04:00

27 lines
513 B
Plaintext

= ls =
List files in directory
== Usage and flags ==
ls [FLAGS] [FILE]
* [FILE]
- folder/file to list contents of. defaults to current dir.
* -a aka --all
- include hidden files in listing
* --color
- color the output
* -l aka --long
- show more info about files, like ownership, time last modified, etc
* -d aka --directory
- list only directories
* -h aka --human-readable
- list sizes of files in human readable format
* -s aka -size
- Print sizes of each file
For full usage use man ls
[[index]]