Linux 命令的一些细节

版权声明:如若转载,请联系作者。 https://blog.csdn.net/liu16659/article/details/85006133

Linux 命令的一些细节

1. 文件夹后是否加/

  • /
[root@server4 ~]# ls -l web/
total 0
drwxr-xr-x. 2 root root 6 Jun 27 21:49 cgi-bin
drwxr-xr-x. 2 root root 6 Jun 27 21:49 html
  • 不加 /
[root@server4 ~]# ls -l web
lrwxrwxrwx. 1 root root 9 Aug 31 22:20 web -> /var/www/

猜你喜欢

转载自blog.csdn.net/liu16659/article/details/85006133