Which grep command will print only the lines that do not end with a / in the file foo?

Which grep command will print only the lines that do not end with a / in the file foo?A . grep '/$' fooB . grep '/#' fooC . grep -v '/$' fooD . grep -v '/#' fooView AnswerAnswer: C

July 25, 2019 No Comments READ MORE +

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

When removing a package, which of the following dpkg options will completely remove the files including configuration files?A . --cleanB . --deleteC . --purgeD . CremoveView AnswerAnswer: C

July 25, 2019 No Comments READ MORE +

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?A . dirnameB . whichC . basenameD . queryE . whereisView AnswerAnswer: E

July 24, 2019 No Comments READ MORE +

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time?

CORRECT TEXT Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: dpkg-reconfigure

July 24, 2019 No Comments READ MORE +

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?A . -dirmaxB . -maxdepthC . -maxlevelsD . -nE . -sView AnswerAnswer: B

July 23, 2019 No Comments READ MORE +

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?A . dd if=/dev/zero of=/dev/sda bs=512B . dd if=/dev/zero of=/dev/sda bs=512 count=1C . dd if=/dev/zero of=/dev/sda bs=440 count=1D . dd if=/dev/zero of=/dev/sda bs=440View AnswerAnswer: C

July 22, 2019 No Comments READ MORE +

What is the default nice level when a process is started using the nice command?

What is the default nice level when a process is started using the nice command?A . -10B . 10C . 20D . 0View AnswerAnswer: B

July 21, 2019 No Comments READ MORE +

While /tmp/file contains data, why is /tmp/file empty afterwards?

When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?A . The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.B . The command sed did not match anything in that file therefore the output...

July 20, 2019 No Comments READ MORE +

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?A . !B . +C . &D . %E . #View AnswerAnswer: C

July 18, 2019 No Comments READ MORE +

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?A . i (lowercase)B . P (uppercase)C . p (lowercase)D . U (uppercase)E . u (lowercase)View AnswerAnswer: C

July 17, 2019 No Comments READ MORE +