練習問題

練習問題

問1 空欄に入る適切なコマンドを入力してください。

実行結果

1[user01@localhost ~]$ ???
2[user01@localhost ~]$ ???
3/home
4[user01@localhost home]$ ???

問2 空欄に入る適切なコマンドを入力してください。

実行結果

1[user01@localhost /]$ ???
2合計 8
3drwx------.  2 testuser testuser   62  7月  1 15:53 test
4drwx------.  2 testuser testuser   62  7月  2 10:43 testuser
5drwx------. 10 user01   user01   4096  7月  6 17:25 user01
6drwx------.  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 ~]$ ???
2root:x:0:
3bin:x:1:
4daemon:x:2:
5※以下省略
6lock:x:54:
7audio:x:63:
8nobody:x:99:
9:???

問5 シンボリックリンクを作成できるよう空欄に入る適切なコマンドを入力してください。

実行結果

1[user01@localhost ~]$pwd > pwd.txt
2[user01@localhost ~]$
3/home/user01
4[user01@localhost ~]$
5[user01@localhost ~]$
6lrwxrwxrwx. 1 user01 user01 7  7月  7 17:27 spwd.txt -> pwd.txt


NEXT>> 5章 ファイル管理

f