On this page you find all important commands for the CLI tool ls. If the
command you are looking for is missing please ask our AI.
ls
List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
List of commands for ls:
-
chcon:tldr:b3ffa chcon: View security context of a file.$ ls -lZ ${filename}try on your machineexplain this command
-
debootstrap:tldr:c3e04 debootstrap: List available releases.$ ls /usr/share/debootstrap/scripts/try on your machineexplain this command
-
dmenu:tldr:2a8ea dmenu: Launch dmenu on a specific monitor.$ ls | dmenu -m ${1}try on your machineexplain this command
-
dmenu:tldr:f1ad8 dmenu: Display dmenu at the bottom of the screen.$ ls | dmenu -btry on your machineexplain this command
-
files:permission This command will list the permissions and other details of the file.$ ls -l ${filename}try on your machineexplain this command
-
git-column:tldr:c0bf0 git-column: Format the standard input as multiple columns with a maximum padding of `30`.$ ls | git column --mode=column --padding=${30}try on your machineexplain this command
-
git-column:tldr:f1d9b git-column: Format the standard input as multiple columns with a maximum width of `100`.$ ls | git column --mode=column --width=${100}try on your machineexplain this command
-
git-column:tldr:f4815 git-column: Format the standard input as multiple columns.$ ls | git column --mode=${column}try on your machineexplain this command
-
ls:tldr:48011 ls: Long format list of all files, sorted by modification date (oldest first).$ ls -ltrtry on your machineexplain this command
-
ls:tldr:5f7f4 ls: List all files, with trailing `/` added to directory names.$ ls -Ftry on your machineexplain this command
-
ls:tldr:79e2f ls: Long format list with size displayed using human-readable units (KiB, MiB, GiB).$ ls -lhtry on your machineexplain this command
-
ls:tldr:a2da9 ls: Long format list (permissions, ownership, size, and modification date) of all files.$ ls -latry on your machineexplain this command
-
ls:tldr:c52fd ls: List all files, including hidden files.$ ls -atry on your machineexplain this command
-
ls:tldr:de51c ls: Long format list sorted by size (descending).$ ls -lStry on your machineexplain this command
-
numfmt:tldr:5daf7 numfmt: Convert 5th field (1-indexed) to IEC Units without converting header.$ ls -l | numfmt --header=${1} --field=${5} --to=${iec}try on your machineexplain this command
-
parallel:tldr:7ae52 parallel: Read arguments from `stdin`, run 4 jobs at once.$ ls *.txt | parallel -j4 gziptry on your machineexplain this command
-
pridecat:tldr:56731 pridecat: List directory contents in pride flag colors.$ ls | pridecat --${flag}try on your machineexplain this command
-
sftp:tldr:44ba5 sftp: Get list of files on remote machine.$ lstry on your machineexplain this command
-
xcowsay:tldr:609e2 xcowsay: Display a cow with output from another command.$ ls | xcowsaytry on your machineexplain this command