Learning and improvement of the ls command to achieve
Enter man ls
to see the ls command specific parameter index can be observed in detail its parameters
Running in a virtual machine ls -a
, it appears the result is to show all files in the directory, including with "." Character begins a hidden file
to run in a virtual machine ls -lu
running in a virtual machine ls -s
, ls -t
, ls -F
, ls -i
, ls -r
which ls -t
represents according to the last modification time ordering
ls -F
representation in after an entry with the file type of symbol only
ls -i
indicates the inode display node information
ls -r
indicates reverse order sort by
more detailed concrete operation shown below:
can be referred to for detail operation URL: https://man.linuxde.net/ls