How is the content of the section SectionName associated with that section?

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?A . It is placed in curly brackets as in Section SectionName { ... }.B . It is placed between a line containing Section "SectionName" and a line containing EndSection.C...

May 1, 2025 No Comments READ MORE +

When the command echo $ outputs 1, which of the following statements is true?

When the command echo $ outputs 1, which of the following statements is true?A . It is the process ID of the echo command.B . It is the process ID of the current shell.C . It is the exit value of the command executed immediately before echo.D . It is...

May 1, 2025 No Comments READ MORE +

Where are user specific crontabs stored?

Where are user specific crontabs stored?A . In the database file /etc/crontab.db which is shared by all users.B . As individual per-user files within /var/spool/cron.C . As individual per-user files in /etc/cron.user.d.D . In the .crontab file in the user's home directory.E . In the file /var/cron/user-crontab which is shared...

April 28, 2025 No Comments READ MORE +

Which of the following files assigns a user to its primary group?

Which of the following files assigns a user to its primary group?A . /etc/pgroupB . /etc/shadowC . /etc/groupD . /etc/passwdE . /etc/gshadowView AnswerAnswer: D Explanation: The /etc/passwd file assigns a user to its primary group by specifying the group ID (GID) of the primary group in the fourth field of...

April 27, 2025 No Comments READ MORE +

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?A . The encrypted passwords are still subject to brute force attacks.B . This is just for historical reasons.C . There is other information in the file that needs to be kept secret.D . The passwords...

April 25, 2025 No Comments READ MORE +

What command displays all aliases defined in the current shell? (Specify the command without any path information)

What command displays all aliases defined in the current shell? (Specify the command without any path information)View AnswerAnswer: alias, alias -p Explanation: The alias command is used to create, list, or remove aliases in the current shell. An alias is a short name that refers to another command, usually with...

April 25, 2025 No Comments READ MORE +

What must be done to fix this?

A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?A . Alter the locale.B . Set the timezone correctly.C . Edit /etc/currency.D . Reinstall the French language pack.View AnswerAnswer: A...

April 21, 2025 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...

April 20, 2025 No Comments READ MORE +

What output will the command seq 10 produce?

What output will the command seq 10 produce?A . A continuous stream of numbers increasing in increments of 10 until stopped.B . The numbers 1 through 10 with one number per line.C . The numbers 0 through 9 with one number per line.D . The number 10 to standard output.View...

April 20, 2025 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...

April 17, 2025 No Comments READ MORE +