練習問題
練習問題
問1 空欄に入る適切なコマンドを入力してください。
実行結果
1 | [user01@localhost ~]$ ??? |
2 | [user01@localhost ~]$ ??? |
3 | /home |
4 | [user01@localhost home]$ ??? |
図

問2 空欄に入る適切なコマンドを入力してください。
実行結果
1 | [user01@localhost /]$ ??? |
2 | 合計 8 |
3 | drwx------. 2 testuser testuser 62 7月 1 15:53 test |
4 | drwx------. 2 testuser testuser 62 7月 2 10:43 testuser |
5 | drwx------. 10 user01 user01 4096 7月 6 17:25 user01 |
6 | drwx------. 2 user02 user02 62 7月 1 15:20 user02 |
7 | [user01@localhost /]$ ??? |
8 | . bin dev home lib64 mnt proc run srv tmp var |
9 | .. boot etc lib media opt root sbin sys usr |
10 | [user01@localhost /]$ cd |
図

問3 空欄に入る適切なコマンドを入力してください。
実行結果
1 | [user01@localhost ~]$ ??? |
2 | # sysctl settings are defined through files in |
3 | # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. |
4 | # |
5 | # Vendors settings live in /usr/lib/sysctl.d/. |
6 | # To override a whole file, create a new file with the same in |
7 | # /etc/sysctl.d/ and put new settings there. To override |
8 | # only specific settings, add a file with a lexically later |
9 | # name in /etc/sysctl.d/ and put new settings there. |
10 | # |
11 | # For more information, see sysctl.conf(5) and sysctl.d(5). |
図

問4 空欄に入る適切なコマンドを入力してください。
実行結果
1 | [user01@localhost ~]$ ??? |
2 | root:x:0: |
3 | bin:x:1: |
4 | daemon:x:2: |
5 | ※以下省略 |
6 | lock:x:54: |
7 | audio:x:63: |
8 | nobody:x:99: |
9 | :??? |
図

問5 シンボリックリンクを作成できるよう空欄に入る適切なコマンドを入力してください。
実行結果
1 | [user01@localhost ~]$ pwd > pwd .txt |
2 | [user01@localhost ~]$ |
3 | /home/user01 |
4 | [user01@localhost ~]$ |
5 | [user01@localhost ~]$ |
6 | lrwxrwxrwx. 1 user01 user01 7 7月 7 17:27 spwd.txt -> pwd .txt |
図
