[Linux]lsコマンドで隠しファイルを表示する方法

2021年4月22日

書式
-l 詳細情報を表示
-a 隠しファイルを表示

1.隠しファイルを表示
# ls -a
. .. .bash_logout .bash_profile .bashrc .mozilla

2.詳細情報を表示
# ls -la
合計 24
drwxr-xr-x. 3 root root 78 3月 29 12:07 .
drwxr-xr-x. 143 root root 8192 4月 30 19:36 ..
-rw-r–r–. 1 root root 18 1月 12 03:21 .bash_logout
-rw-r–r–. 1 root root 141 1月 12 03:21 .bash_profile
-rw-r–r–. 1 root root 376 1月 12 03:21 .bashrc
drwxr-xr-x. 4 root root 39 3月 29 12:06 .mozilla

Linux

Posted by arkgame