目次

Linux

OS

shell

変数

権限

再帰的な変更

$ chmod -R 777 .

ディレクトリ指定

$ find . -type d -exec chmod 777 \{\} \;

ファイル指定

$ find . -type f -exec chmod 777 \{\} \;

拡張子指定

$ find . -type f -name '*.sh' -exec chmod 777 \{\} \;
1)
今更聞けない!LinuxのOSやバージョンの確認方法, エンジニアの入り口, https://eng-entrance.com/linux-os-version, 2021/07/20