練習問題
練習問題
問1 空欄に入る適切なコマンドを入力してください。
実行結果
[user01@localhost ~]$ ??? [user01@localhost ~]$ ??? /home [user01@localhost home]$ ???
図
![](https://kanda-it-school-kensyu.com/wp-content/uploads/a7d94b466972f50277d78a24cf527517.png)
問2 空欄に入る適切なコマンドを入力してください。
実行結果
[user01@localhost /]$ ??? 合計 8 drwx------. 2 testuser testuser 62 7月 1 15:53 test drwx------. 2 testuser testuser 62 7月 2 10:43 testuser drwx------. 10 user01 user01 4096 7月 6 17:25 user01 drwx------. 2 user02 user02 62 7月 1 15:20 user02 [user01@localhost /]$ ??? . bin dev home lib64 mnt proc run srv tmp var .. boot etc lib media opt root sbin sys usr [user01@localhost /]$ cd
図
![](https://kanda-it-school-kensyu.com/wp-content/uploads/e3bf0008133441217571753560c8fa6c.png)
問3 空欄に入る適切なコマンドを入力してください。
実行結果
[user01@localhost ~]$ ??? # sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. # # Vendors settings live in /usr/lib/sysctl.d/. # To override a whole file, create a new file with the same in # /etc/sysctl.d/ and put new settings there. To override # only specific settings, add a file with a lexically later # name in /etc/sysctl.d/ and put new settings there. # # For more information, see sysctl.conf(5) and sysctl.d(5).
図
![](https://kanda-it-school-kensyu.com/wp-content/uploads/86ce8f7950d13ea01003ebc10f6b34d0.png)
問4 空欄に入る適切なコマンドを入力してください。
実行結果
[user01@localhost ~]$ ??? root:x:0: bin:x:1: daemon:x:2: ※以下省略 lock:x:54: audio:x:63: nobody:x:99: :???
図
![](https://kanda-it-school-kensyu.com/wp-content/uploads/268bba5c47648d6d8ef744330127ac92.png)
問5 シンボリックリンクを作成できるよう空欄に入る適切なコマンドを入力してください。
実行結果
[user01@localhost ~]$pwd > pwd.txt [user01@localhost ~]$ /home/user01 [user01@localhost ~]$ [user01@localhost ~]$ lrwxrwxrwx. 1 user01 user01 7 7月 7 17:27 spwd.txt -> pwd.txt
図
![](https://kanda-it-school-kensyu.com/wp-content/uploads/33f633355da8a15322df8c1a689b8661.png)