102-500日本語 無料問題集「Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500日本語版)」

/etc/ntp.conf ファイル内のどのオプションで、時刻情報を照会する外部 NTP ソースを指定しますか?
(値やパラメータを指定せずにオプションのみを指定します。)
正解:
server
Explanation:
The server option is used to configure a persistent association with a remote server or peer. It takes an argument that is either a host name or a numeric IP address of the NTP server. The ntpd daemon will periodically send NTP packets to the specified server and adjust the local clock according to the received responses. Multiple server options can be used to specify more than one NTP source. For example, the following lines in the /etc/ntp.conf file configure four external NTP sources:
server 0.asia.pool.ntp.org
server 0.oceania.pool.ntp.org
server 0.europe.pool.ntp.org
server 0.north-america.pool.ntp.org
Reference:
https://docs.ntpsec.org/latest/ntp_conf.html
https://vceguide.com/which-option-in-the-etc-ntp-conf-file-specifies-an-external-ntp-source-to-be-queried-for-time-information-2/
https://vceguide.com/which-option-in-the-etcntp-conf-file-specifies-an-external-ntp-source-to-be-queried-for-time-information/
システムに空のグループを追加するために使用されるコマンドはどれですか。 (パスまたはパラメーターを指定せずにコマンドのみを指定してください。)
正解:
groupaddusrsbingroupadd
Explanation:
The groupadd command is used to add an empty group to the system. It takes the name of the group as an argument and creates an entry for it in the /etc/group file. The groupadd command also assigns a unique group ID (GID) to the new group. The groupadd command can take various options to specify the GID, the password, and other attributes of the new group. For example, groupadd -g 1000 mygroup will create a new group named mygroup with a GID of 1000. Reference:
Linux Groups - javatpoint
groupadd(8) - Linux manual page
How to Add and Delete User Groups on Linux
新しい電子メール エイリアスを構成に追加した後、MTA がそれを認識できるようにするには、どのコマンドを実行する必要がありますか? (コマンドはパスを指定せずに、必要なパラメータをすべて含めて指定します。)
正解:
newaliasessendmailbi
Explanation:
The command that must be run in order to ensure the MTA knows about the new email alias is:
newaliases
This command updates the MTA's aliases database and makes the changes effective. It is equivalent to the commands sendmail -bi or sendmail -I12. The newaliases command should be run after making modifications to the /etc/aliases file, which contains the email aliases for the system3.
Xは問題なく動作していますが、正しい色数が設定されていない可能性があります。 Xでどのようなコマンドでランニングカラーの深さを確認できますか?

解説: (JPNTest メンバーにのみ表示されます)
パスワードが暗号化された方法で保存されていると、/ etc / shadowが誰にも読めないのはなぜですか?

解説: (JPNTest メンバーにのみ表示されます)
ユーザーのアカウントエージング情報を変更するために使用できるコマンドはどれですか? (3つの正しい答えを選んでください。)

正解:B、C、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
どのコマンドが現在のシェルで定義されているすべてのエイリアスを表示しますか? (パス情報なしでコマンドを指定してください)
正解:
aliasaliasp
Explanation:
The alias command is used to create, list, or remove aliases in the current shell. An alias is a short name that refers to another command, usually with some options or arguments. Aliases are useful for saving typing time, avoiding spelling errors, or customizing the behavior of commands. To list all the aliases defined in the current shell, we can use the alias command without any arguments. This will print the aliases in the format of alias name='command'123. For example:
$ alias alias cp='cp -i' alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias mv='mv -i' alias rm='rm -i' The output shows that some common commands, such as cp, mv, and rm, have aliases that add the -i option, which prompts the user before overwriting or deleting files. The l, la, and ll aliases are shortcuts for different variations of the ls command, which lists files and directories123.
次のsudo設定の抜粋を考えます。
jane ANY = NOPASSWD:/ bin / kill、/ bin / id、PASSWD:/ sbin / fdisk
次のうち、正しいものはどれですか? (3つ選択してください。)

正解:A、B、E 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
VARIABLE という名前のシェル変数をサブシェルに見えるようにするコマンドはどれですか?

解説: (JPNTest メンバーにのみ表示されます)
スクリーン リーダーの目的は何ですか?

解説: (JPNTest メンバーにのみ表示されます)
国際化プログラムのメッセージの言語をポルトガル語(pt)に変更するために、ログインシェルを起動するときに、次のコマンドのどれを実行する必要がありますか?

解説: (JPNTest メンバーにのみ表示されます)
コマンドdateを使用して実行できるタスクはどれですか? (正しい答えを2つ選んでください。)

解説: (JPNTest メンバーにのみ表示されます)
次のうち何コマンドifconfigで行うことができますか? (正しい答えを2つ選んでください。)

正解:B、C 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
次のうちどれchageコマンドが変更できないのですか?

解説: (JPNTest メンバーにのみ表示されます)
ユーザーが所属するグループ名とGIDを表示するのはどのコマンドですか? (パス情報の有無にかかわらずコマンド名のみを指定してください)
正解:
idusrbinid
Explanation:
The id command will display the user ID (uid), the primary group ID (gid), and the supplementary groups (groups) of a user. The output will show the names and the numerical IDs of the groups. For example:
id linuxize
The command will show the user ID (uid), the user's primary group (gid), and the user's secondary groups (groups) uid=1001(linuxize) gid=1001(linuxize) groups=1001(linuxize),27(sudo) To print only the names instead of the numbers use the -n option.
id -nG linuxize
The command will show only the names of the groups
linuxize sudo
The id command is part of the GNU coreutils package and is available on all Linux systems. The full path of the command is /usr/bin/id. Reference:
id(1) - Linux manual page
How to List Groups in Linux | Linuxize

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡