next_inactive up previous contents
Up: UNIX 基礎演習 B 組 Previous: 3 シンボリックリンク

Subsections


A. 問題の解答例

A..1 1.1.2 問題 (p. [*])

  1. cd; ls

  2. ls -F (; mkdir unix)

  3. cd unix

  4. ls -F (; touch temp)

  5. ls -F (; mkdir rensyu)

  6. ls -a

  7. mv temp ..

  8. cd ..

  9. ls unix

A..2 1.6 問題 (p. [*])

  1. cd; ls unix/rensyu; rm unix/rensyu/ temp

  2. /bin/ls; pwd; ../../../../bin/ls

  3. (cd;) cp /bin/ls unix/myls

  4. unix/myls

  5. rm unix/myls; rm tempfile

  6. (略)

A..3 2.5 問題 (p. [*])

  1. cd; ls -l

  2. ls -l /bin/cat /bin/ls

  3. *

  4. cd; cd unix; echo > now; ls -l now

  5. date > now

  6. ls -l now; cat now

  7. chmod u-r now

  8. cat now (Permission denied.)

  9. chmod u+r now; chmod u-w now; cat now

  10. date > now (Permission denied.)

  11. rm now

  12. chmod u+w now; chmod g-r now; chmod o-r now (chmod 600 now も可)

  13. rm now

    1. chmod a+x mybirth

    2. ./mybirth

A..4 3.2 問題 (p. [*])

  1. cd; date > unix/now

  2. cd; ln -s unix/now symnow

  3. cat symnow

  4. mv unix/now unix/old; cat symnow

  5. rm symnow; rm unix/old


next_inactive up previous contents
Up: UNIX 基礎演習 B 組 Previous: 3 シンボリックリンク

平成17年12月21日