ls (list) list directory content
ls -l (list long) list directory content with user permission, time and date.
ls -la (list long all) Displayes hidden files
ls -r & -R (Reverse & Recursive)
ls -s (size) print the allocated size of each file, in blocks

ls -S (Sort) sort by file size, largest first
ls -t (Time) sort by modification time, newest first
ls -x (sort alphabetically)
No comments:
Post a Comment