Which of the following excerpts is a valid if condition in the Bourne shell?

Which of the following excerpts is a valid if condition in the Bourne shell? A) B) C) D) A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: B

February 20, 2024 No Comments READ MORE +

When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?

When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?A . mail.confB . mailer, confC . mta.confD . postfix.confE . sendmail. confView AnswerAnswer: E

February 19, 2024 No Comments READ MORE +

Which command shows all processes owned by the user bob?

Which command shows all processes owned by the user bob?A . who -1 bobB . pgrep -u bobC . ps -o -a bobD . top bobE . last -p bobView AnswerAnswer: B

February 16, 2024 No Comments READ MORE +

What symbol is used in the vi editor to start the forward search for a string? (Specify ONLY the single character symbol without any parameters)

What symbol is used in the vi editor to start the forward search for a string? (Specify ONLY the single character symbol without any parameters) View AnswerAnswer:

February 14, 2024 No Comments READ MORE +

How can the file permissions be overridden to save the edits to the file and quit the editor?

While using vi as superuser. the attempt to save a file while quitting the editor leads to an error indicating that the file is read-only. How can the file permissions be overridden to save the edits to the file and quit the editor?A . : fw!B . : fwqC ....

February 14, 2024 No Comments READ MORE +

What is the purpose of the nice command'?

What is the purpose of the nice command'?A . Run a command with the permissions of another userB . Run a command with limited access to a specified directoryC . Run a command with additional filesystem permissionsD . Run a command with additional secondary groups.E . Run a command with...

February 14, 2024 No Comments READ MORE +

Which line in a cron job runs myscript once per hour?

Which line in a cron job runs myscript once per hour?A . ***** /pathto/myscriptB . 0 * * * * /pathto/myscriptC . * 0 * * * /pathto/myscriptD . * * o * * /pathto/myscriptE . * * * o * /pathto/myscriptView AnswerAnswer: B

February 13, 2024 No Comments READ MORE +

Which utility can be used to determine the kind of data that is contained in that file?

A file called mybackup is found while investigating a USB pen drive. Which utility can be used to determine the kind of data that is contained in that file?A . file mybackupB . Is -1 mybackupC . tar -t mybackupD . whatis mybackupE . touch mybackupView AnswerAnswer: A

February 11, 2024 No Comments READ MORE +

Which line or lines in the file does the following command match?

Consider the following file legal file: disclosure non-disclosure non-disclosure Which line or lines in the file does the following command match? Note the space after the dash within the brackets. grep "non [-] disclosure" legalfileA . disclosure onlyB . non-disclosure onlyC . non-disclosure onlyD . disclosure and non-disclosure onlyE ....

February 10, 2024 No Comments READ MORE +

What does S l represent in the following lines from a Bourne shell script:

What does S l represent in the following lines from a Bourne shell script: #! /bin/sh cp SI 52A . A control operator.B . An environmental variable.C . A function.D . A positional parameter.E . The shebang.View AnswerAnswer: D

February 9, 2024 No Comments READ MORE +