例如,现在我正在使用以下内容来更改我写入文件的Unix路径的几个文件:
cat file.txt | while read in; do chmod 755 "$in"; done
有更优雅,更安全的方式吗?
bash loops line
bash ×1
line ×1
loops ×1