Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)A . ~/.bashconfB . ~/.bashrcC . ~/.bashdefaultsD . ~/.bash_etcE . ~/.bash_profileView AnswerAnswer: B, E Explanation: The Bash shell can be configured by various files that affect its behavior, such as setting environment variables,...
What is the main difference between the batch and at commands?
What is the main difference between the batch and at commands?A . The batch command will run multiple times.The at command will only run once.B . The batch command will run when system load is low. The at command runs at a specific time.C . The at command reads commands...
For accessibility assistance, which of the following programs is an on-screen keyboard?
For accessibility assistance, which of the following programs is an on-screen keyboard? A. xkb B. atkb C. GOK D. xOSKView AnswerAnswer: C Explanation: GOK stands for GNOME On-screen Keyboard, and it is a program that provides a virtual keyboard for users who have difficulty using a physical keyboard. GOK is...
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: xdm Explanation: The name of the simple graphical login manager that comes with a vanilla X11 installation is xdm. XDM is the traditional...
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....