Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)View AnswerAnswer: HISTFILE

January 11, 2021 No Comments READ MORE +

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?A . aptB . apt-cacheC . apt-getD . apt-searchE . dpkgView AnswerAnswer: B

January 11, 2021 No Comments READ MORE +

What does this indicate?

The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?A . The kernel was unable to execute /bin/initB . The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and...

January 10, 2021 No Comments READ MORE +

What command do you issue?

You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?A . rpm -qp apache-xml.i386.rpmB . rpm -qv apache-xml.i386.rpmC . rpm -ql apache-xml.i386.rpmD . rpm -qpl apache-xml.i386.rpmView AnswerAnswer: D

January 10, 2021 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

January 10, 2021 No Comments READ MORE +

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?A . systemd.target=rescue.targetB . systemd.runlevel=rescue.targetC . systemd.service=rescue.targetD . systemd.default=rescue.targetE . systemd.unit=rescue.targetView AnswerAnswer: E

January 10, 2021 No Comments READ MORE +

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?A . /lib/init.soB . /sbin/initC . /etc/rc.d/rcinitD . /proc/sys/kernel/initE . /boot/initView AnswerAnswer: B

January 10, 2021 No Comments READ MORE +

Which of the following commands will remove that directory?

A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory?A . rmdir '~/dir'B . rmdir "~/dir"C . rmdir ~/'dir'D . rmdir ~/dirE . rmdir ~/\dirView AnswerAnswer: E

January 10, 2021 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

January 9, 2021 No Comments READ MORE +

Which of the following commands displays the contents of a gzip compressed tar archive?

Which of the following commands displays the contents of a gzip compressed tar archive?A . gzip archive.tgz | tar xvf ­B . tar ztf archive.tgzC . gzip -d archive.tgz | tar tvf ­D . tar cf archive.tgzView AnswerAnswer: B

January 9, 2021 No Comments READ MORE +