Q1. script01ファイルを、ファイルの所有者が実行できるようにしたい。
どのコマンドを使えばよいか?
A. chmod o+t script01
B. chmod u+x script01
C. chmod script01 o+x
D. chmod script01 u+x
Q2. script02ファイルのグループをlpicに変更するコマンドはどれか?
A. chgrp lpic script02
B. newgrp lpic script02
C. chgrp script02 lpic
D. newgrp script02 lpic
A1. chmod u+x script01 (B)
A2. chgrp lpic script02 (A)
- 構文は、「chgrp 新しく付与するもの 変更の対象」
最終更新:2008年12月17日 16:27