Produce?

After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?A . A BB . A B CC . A CD . B CE . C B AView AnswerAnswer: A

March 24, 2021 No Comments READ MORE +

To prevent a specific user from scheduling tasks with at, what should the administrator do?

To prevent a specific user from scheduling tasks with at, what should the administrator do?A . Add the specific user to /etc/at.allow file.B . Add the specific user to [deny] section in the /etc/atd.conf file.C . Add the specific user to /etc/at.deny file.D . Add the specific user to nojobs...

March 24, 2021 No Comments READ MORE +

Which command is used to add an empty group to the system?

CORRECT TEXT - (Topic 3) Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: groupadd, /usr/sbin/groupadd

March 24, 2021 No Comments READ MORE +

Which command allows you to make a shell variable visible to subshells?

Which command allows you to make a shell variable visible to subshells?A . export $VARIABLEB . export VARIABLEC . set $VARIABLED . set VARIABLEE . env VARIABLEView AnswerAnswer: B

March 24, 2021 No Comments READ MORE +

On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.

On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.A . -rw-r-----, -r--------B . -rw-r--r--, -r--r--r--C . -rw-r--r--, -r--------D . -rw-r--rw-, -r-----r--E . -rw-------, -r--------View AnswerAnswer: C

March 23, 2021 No Comments READ MORE +

Which file used by XDM specifies the default wallpaper?

Which file used by XDM specifies the default wallpaper?A . /etc/X11/xdm/XsetupB . /etc/X11/xdm.confC . /etc/X11/xdm/DefaultsD . /etc/X11/defaults.confView AnswerAnswer: A

March 23, 2021 No Comments READ MORE +

Which of the following commands shows the current color depth of the X Server?

Which of the following commands shows the current color depth of the X Server?A . xcdB . xcdepthC . xwininfoD . xcolordepthE . cat /etc/X11View AnswerAnswer: C

March 23, 2021 No Comments READ MORE +

Which TWO statements about crontab are true?

Which TWO statements about crontab are true?A . Every user may have their own crontab.B . Changing a crontab requires a reload/restart of the cron daemon.C . The cron daemon reloads crontab files automatically when necessary.D . hourly is the same as "0 * * * *".E . A cron...

March 23, 2021 1 Comment READ MORE +

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.

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...

March 22, 2021 No Comments READ MORE +

What is the difference between the commands test -e path and test -f path?

What is the difference between the commands test -e path and test -f path?A . They are equivalent options with the same behaviour.B . The -f option tests for a regular file. The -e option tests for an empty file.C . Both options check the existence of the path. The...

March 22, 2021 No Comments READ MORE +