vimwiki/tech/ls.wiki

27 lines
513 B
Plaintext
Raw Normal View History

2021-10-11 03:22:53 +00:00
= 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]]