|
|
发表于 2005-11-23 09:24:59
|
显示全部楼层
交流一下
- [No.65 09:27:14 test ]# ls -l
- total 0
- ---------- 1 root root 0 2005-11-23 09:26 1
- ---------- 1 root root 0 2005-11-23 09:26 2
- ---------- 1 root root 0 2005-11-23 09:26 3
- d--------- 2 root root 48 2005-11-23 09:26 4
- d--------- 2 root root 48 2005-11-23 09:26 5
- d--------- 2 root root 48 2005-11-23 09:26 6
- [No.66 09:27:24 test ]# for file in *
- > do
- > [[ -f $file ]] && chmod 404 $file
- > done
- [No.67 09:28:29 test ]# ls -l
- total 0
- -r-----r-- 1 root root 0 2005-11-23 09:26 1
- -r-----r-- 1 root root 0 2005-11-23 09:26 2
- -r-----r-- 1 root root 0 2005-11-23 09:26 3
- d--------- 2 root root 48 2005-11-23 09:26 4
- d--------- 2 root root 48 2005-11-23 09:26 5
- d--------- 2 root root 48 2005-11-23 09:26 6
复制代码 |
|