我有一个问题:我需要将符号链接的权限从 777 更改为 755,但我不知道该怎么做。我试过使用该chmod
命令,但它不起作用。我想要
lrwxrwxrwx 1 frosu 2016_cluj 5 Jul 4 13:53 test6 -> test0
Run Code Online (Sandbox Code Playgroud)
到
lrwxr-xr-x 1 frosu 2016_cluj 5 Jul 4 13:53 test6 -> test0
Run Code Online (Sandbox Code Playgroud) 我需要搜索nicolas bomber
带有grep
. 名字也可以NiCoLaS BomBer
。我需要运行一个.sh
显示该名称出现次数的文件。
我发出的命令是这样的:
grep -i "Nicolas \s*Bomber" annuaire | wc -l
Run Code Online (Sandbox Code Playgroud)
但它不起作用。
有什么建议?