How is a display manager started?
How is a display manager started? A. It is started by a user using the command startx. B. It is started like any other system service by the init system. C. It is started by inetd when a remote hosts connects to the X11 port. D. It is started automatically...
Which command can be used to delete a group from a Linux system?
Which command can be used to delete a group from a Linux system?A . groupdelB . groupmodC . groupsD . groupeditView AnswerAnswer: A Explanation: The groupdel command is used to delete a group from a Linux system. It removes the group name from the /etc/group and /etc/gshadow files, but not...
Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)
Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)A . export LANGUAGE="pt"B . export MESSAGE="pt"C . export LANG="pt"D . export LC_MESSAGES="pt"E . export ALL_MESSAGES="pt"View AnswerAnswer: C, D Explanation: The commands that should be added to...
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.: A. * 3,4,5 1 * * chklog B. 3 3,4,5 1 * * chklog C. 3 15,16,17 * * * chklog D. 0 15,16,17 1 * * chklog E. * 15,16,17...
Which of the following commands lists all defined variables and functions within Bash?
Which of the following commands lists all defined variables and functions within Bash?A . envB . setC . env -aD . echo $ENVView AnswerAnswer: B Explanation: The set command lists all defined variables and functions within Bash, including local, environment, and shell variables, as well as aliases and functions. The...
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)View AnswerAnswer: id, /usr/bin/id Explanation: The id command will display the user ID (uid), the primary group ID (gid), and the supplementary groups (groups) of a user....
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?A . CASEB . FROMC . WHERED . IFView AnswerAnswer: C Explanation: The SQL WHERE clause is used to restrict the...
You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:
You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:A . The file at that location was used to make the script.B . This script provides identical functionality as the...
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)A . The list of users that belong to the group.B . The home directory of the group.C . The name of the group.D . The description of the group.E . The password of the...
What word is missing from the following SQL statement?
What word is missing from the following SQL statement? __________ count(*) from tablename; (Please specify the missing word using lower-case letters only.)View AnswerAnswer: select Explanation: The missing word is select, which is the keyword used to query data from a table in SQL. The select statement has the following syntax:...