What is the default action of the split command on an input file?

What is the default action of the split command on an input file?A . It will break the file into new files of 1,024 byte pieces each.B . It will break the file into new files of 1,000 line pieces each.C . It will break the file into new files...

October 31, 2020 No Comments READ MORE +

What is the effect of the egrep command when the -v option is used?

What is the effect of the egrep command when the -v option is used?A . It enables color to highlight matching parts.B . It only outputs non-matching lines.C . It shows the command's version information.D . It changes the output order showing the last matching line first.View AnswerAnswer: B

October 31, 2020 No Comments READ MORE +

What is the name of the main configuration file for GNU GRUB?

SIMULATION What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)View AnswerAnswer: menu.lst -or- grub.conf -or- grub.cfg

October 31, 2020 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

October 31, 2020 No Comments READ MORE +

Which shell command is used to continue background execution of a suspended command?

Which shell command is used to continue background execution of a suspended command?A . &B . bgC . contD . execE . :&View AnswerAnswer: B

October 31, 2020 No Comments READ MORE +

Which of the following commands lists all currently installed packages when using RPM package management?

Which of the following commands lists all currently installed packages when using RPM package management?A . yum --query --allB . yum --list --installedC . rpm --query --allD . rpm --list CinstalledView AnswerAnswer: C

October 31, 2020 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

October 31, 2020 No Comments READ MORE +

In Bash, inserting 1>&2 after a command redirects

In Bash, inserting 1>&2 after a command redirectsA . standard error to standard input.B . standard input to standard error.C . standard output to standard error.D . standard error to standard output.E . standard output to standard input.View AnswerAnswer: C

October 30, 2020 No Comments READ MORE +

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/ local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/ local/bin/runme.sh without starting a subshell? (Please select TWO answers.)A . source /usr/local/bin/runme.shB . . /usr/local/bin/runme.shC . /bin/bash /usr/local/bin/runme.shD . /usr/local/bin/runme.shE . run /usr/local/bin/runme.shView AnswerAnswer: AB

October 30, 2020 No Comments READ MORE +

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?A . sed '/bob/Bob' letter > newletterB . sed s/bob/Bob/ letter < newletterC . sed 's/bob/Bob' letter > newletterD . sed 's/bob/Bob/g' letter > newletterE . sed...

October 30, 2020 No Comments READ MORE +