Question 16
After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?
- A B
- A B C
- A C
- B C
- C B A
Question 17
Which of the following commands puts the output of the command date into the shell variable mydate?
- mydate="$(date)"
- mydate="exec date"
- mydate="$((date))"
- mydate="date"
- mydate="${date}"
Question 18
What is the purpose of the sticky keys feature in X?
- To assist users who have difficulty holding down multiple keys at once.
- To prevent repeated input of a single character if the key is held down.
- To ignore brief keystrokes according to a specified time limit.
- To repeat the input of a single character.
Question 19
On a machine running several X servers, how are the different instances of the X11 server identified?
- By a fixed UUID that is defined in the X11 configuration file.
- By a unique IPv6 address from the fe80::/64 subnet.
- By the name of the user that runs the X server like x11:bob.
- By a device name like /dev/X11/xservers/1.
- By a display name like:1.
Question 20
What is the purpose of the xhost program?
- Grant or revoke access to a X11 session.
- Install all packages and video drivers required to run X11 on a host.
- Start the X11 server and announce its availability within the local network.
- Send informational messages to all users logged into a host using X11.
- Display the MOTD and other important information when a user logs in via X11.