比如test文件夹下有一个test文件、一个.文件夹、一个..文件夹。

则,执行三个命令后,显示效果如下:

[root@linuxserver test]$ ls    //显示不隐藏的文件与文件夹
testing

 

[root@linuxserver test]$ ls -l    //显示不隐藏的文件与文件夹的详细信息
-rw-------    1 root     root            0  4月 21 07:00 testing

 


[root@linuxserver testing]$ ls -al   //显示所有文件与文件夹的详细信息
drwxr--r--    2 gaoliang root         4096  4月 21 07:00 .
drwxrwxrwt    5 root     root         4096  4月 21 07:07 ..
-rw-------    1 root     root            0  4月 21 07:00 testing

 

相关文章:

  • 2021-08-28
  • 2022-01-30
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-05-28
猜你喜欢
  • 2021-10-01
  • 2021-08-24
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案