最新的Lpi Linux Essentials Certificate Exam, version 1.6 (010-160日本語版) - 010-160日本語免費考試真題
問題1
シェルで長いコマンドラインを入力するとき、複数の行にコマンドを分割するために使用できる単一の文字は何ですか?
正確答案:
\
Explanation:
The backslash character () is used to escape the meaning of the next character in a command line. This means that the next character is treated as a literal character, not as a special character. For example, if you want to use a space in a file name, you can use a backslash before the space to prevent the shell from interpreting it as a separator. Similarly, if you want to split a long command line across multiple lines, you can use a backslash at the end of each line to tell the shell that the command is not finished yet. The shell will ignore the newline character and continue reading the next line as part of the same command. For example, you can write:
ls -l
/home/user/Documents
instead of:
ls -l /home/user/Documents
Both commands will produce the same output, but the first one is easier to read and type. Reference:
Linux Essentials - Linux Professional Institute (LPI), section 2.1.2
2.1 Command Line Basics - Linux Professional Institute Certification Programs, slide 7.
Explanation:
The backslash character () is used to escape the meaning of the next character in a command line. This means that the next character is treated as a literal character, not as a special character. For example, if you want to use a space in a file name, you can use a backslash before the space to prevent the shell from interpreting it as a separator. Similarly, if you want to split a long command line across multiple lines, you can use a backslash at the end of each line to tell the shell that the command is not finished yet. The shell will ignore the newline character and continue reading the next line as part of the same command. For example, you can write:
ls -l
/home/user/Documents
instead of:
ls -l /home/user/Documents
Both commands will produce the same output, but the first one is easier to read and type. Reference:
Linux Essentials - Linux Professional Institute (LPI), section 2.1.2
2.1 Command Line Basics - Linux Professional Institute Certification Programs, slide 7.
問題2
正規表現のどの演算子が、先行する文字に0回または1回一致しますか?
正確答案: C
說明:(僅 VCESoft 成員可見)
問題3
次の出力の情報のソースはどのファイルですか? (2つ選択してください。)uid = 1000(bob)gid = 1000(bob)groups = 1000(bob)、10(wheel)、150(docker)、1001(libvirt)(wireshark)、989
正確答案: B,D
說明:(僅 VCESoft 成員可見)
問題4
次の出力のうちコマンドフリーからのものはどれですか。


正確答案: D
問題5
どのコマンドがファイル名のみを表示し、追加情報を表示しませんか?
正確答案: B
說明:(僅 VCESoft 成員可見)
問題6
/ proc /ディレクトリには何がありますか?
正確答案: C
說明:(僅 VCESoft 成員可見)
問題7
次のDNSレコードタイプのどれがIPアドレスを保持していますか? (2つ選択してください。)
正確答案: A,D
說明:(僅 VCESoft 成員可見)
問題8
次のコマンドのうち、圧縮アーカイブfile1.tar.gzの内容を抽出するものはどれですか?
正確答案: E
說明:(僅 VCESoft 成員可見)

