Show all files in a directory

Show all files in a directory

To view the files in a directory, use the “ls” command. However, files beginning with a “. (dot) is a hidden file and cannot be displayed by the “ls” command.

.” (dot), you can use the “ls” command with the option “-a”.

[root@Lion ~]# ls -a
./ .canna .jedrc .xemacs.el restor.txt
../ .cshrc .liece/ rpm/              .Xresources
.emacs .mew.el lib/
タイトルとURLをコピーしました