ls command and options

This is episode 1 of my “Kickstart Linux command line” tutorial.

ls list names of all items in the working directory
ls -l list names of all items in the working directory,
more details one item per row
ls -lp list names of all items in the working directory,
more details one item per row,
add a trailing slash to directory names
ls -lph list names of all items in the working directory,
more details one item per row,
add a trailing slash to directory names,
make file sizes human readable
ls -alph list names of all items in the working directory,
more details one item per row,
add a trailing slash to directory names,
make file sizes human readable,
also display hidden and system files
ls -lrt list names of all items in the working directory,
more details one item per row,
reverse
ordered,
ordered by modification time

 

0 Noone thinks it's helpful 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *