Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use the linux ls command

Shulou Source: shulou.com Published: 2022-06-03 05:19:33 10月01日 Update

NAME ls-list directory contentsSYNOPSIS ls [OPTION]... [FILE]...

DESCRIPTION

List information about the FILES (the current directoryby default). Sort entries alphabetically if none of-cftuvSUX nor sort. Lists the information for files. The default is the current folder, and if there are no-cftuvSUX and-- sort options, sort it alphabetically.

-a mahjong murall

Do not ignore enteries starting with. Don't ignore it. The entry at the beginning-A,-- almoost-all do not list implied. And.. The implied ones are not listed. And... And do not dereference symbolic links: lists the file itself, not the content, and does not list the referenced symbolic links-h,-- human-readable with-l, print sizes in human readable format (e.g.1K 234m-2G): together with-l, shows the file size in a human-readable format. -imam Murray Inode print the index number of each file: shows the index number of each file-rmam Meri reverse reverse order while sorting reverse sort-R -- recursive list subdirectories recursively recursively displays subfolders-- t sort by modification time sorts by modification time

Tags: File sort folder human information content number size letter alphabet beginning time entry format symbol index link recursion reference command Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei Shulou Information macOS Apple