小编La-*_*eja的帖子

Linux 上奇怪的“隐形”目录

我在一台 Linux 机器上,正在处理一个名为“stealth”的目录,因为它可以运行和隐藏!看看这个行为:

bash-3.2$ ls /net
bash-3.2$ ls -la /net
total 4
drwxr-xr-x  2 root root    0 Jun 19 16:10 .
drwxr-xr-x 29 root root 4096 Jun 15 09:51 ..
bash-3.2$ ls /net/stealth
dir1  dir2  SERVER_LINK
bash-3.2$ ls /net
stealth
bash-3.2$ ls -la /net
total 4
drwxr-xr-x  3 root root    0 Jun 19 16:59 .
drwxr-xr-x 29 root root 4096 Jun 15 09:51 ..
dr-xr-xr-x  6 root root    0 Jun 19 16:59 stealth
bash-3.2$ uname -a
Linux cfnyps1u 2.6.18-348.18.1.el5 #1 …
Run Code Online (Sandbox Code Playgroud)

linux command-line directory-structure

5
推荐指数
1
解决办法
767
查看次数

标签 统计

command-line ×1

directory-structure ×1

linux ×1