Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 - 102-500무료 덤프문제 풀어보기
Which of the following environment variables can be defined in locale. conf ? (Choose TWO correct answers.)
정답: A,C
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
정답:
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
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
For accessibility assistance, which of the following programs is an on-screen keyboard?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
How can a specific user be prevented from scheduling tasks with a i.?
정답: B
Fill in Blanks
Which parameter is missing in the command
Ip link act ___ dec etho
To activate the previously inactive network interface ethO? (Specrfy the parameter only without any command, path or additional options)
Which parameter is missing in the command
Ip link act ___ dec etho
To activate the previously inactive network interface ethO? (Specrfy the parameter only without any command, path or additional options)
정답:
Up
After editing the TCP wrapper configuration to grant specific hosts access to a service. When do these changes become effective?
정답: E
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
정답: A,B
설명: (Fast2test 회원만 볼 수 있음)
Which of the following commands can identify the PID od a process which opened a TCP port?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
What is Irue regarding public and private SSH keys? (Choose TWO correct answers.)
정답: B,D