You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
462 B

List Files with
[source,bash]
----
-h, --human-readable
with -l and -s, print sizes like 1K 234M 2G etc.
----
[source,bash]
----
ls -lh /
----
List Files and Directories with ‘/’ Character at the end
[source,bash]
----
ls -F /
----
Recursively list Sub-Directories
[source,bash]
----
ls -R /
----
Sort Files by File Size
[source,bash]
----
ls -lS /usr/share
----
Display UID and GID of Files
[source,bash]
----
ls -n /usr/share
----