Which file used by XDM specifies the default wallpaper?
Correct Answer: C
Explanation: (Only visible for Exam-tests members)
Question 2
Which of the following commands displays all environment and shell variables?
Correct Answer: D
Explanation: (Only visible for Exam-tests members)
Question 3
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
Correct Answer:
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
Question 4
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Correct Answer:
usrbinxwininfoxwininfo Explanation: The command that can be used to investigate the properties for a particular window in X by clicking that window is xwininfo. xwininfo is a command-line tool that provides information about X windows. When executed, it opens a small window and waits for the user to select a window by clicking on it. Then, it displays various characteristics about the window in question, such as its geometry, position, size, depth, class, name, id, and more. xwininfo is part of the X Window System, which is a graphical user interface system for Unix-like operating systems. xwininfo can be useful for debugging, testing, or scripting purposes. Reference: https://bing.com/search?q=command+to+investigate+properties+of+a+window+in+X https://www.exam-answer.com/linux-foundation-certified-system-administrator-lfcs-simulation-investigate-window-properties
Question 5
What is the purpose of the iconv command?
Correct Answer: D
Explanation: (Only visible for Exam-tests members)