What happens after issuing the command vi without any additional parameters?

What happens after issuing the command vi without any additional parameters?A . vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.B . vi starts and requires the user to explicitly either create a new or load an existing...

January 7, 2021 No Comments READ MORE +

Which of the following commands is used to update the list of available packages when using dpkg based package management?

Which of the following commands is used to update the list of available packages when using dpkg based package management?A . apt-get updateB . apt-get upgradeC . apt-cache updateD . apt-get refreshE . apt-cache upgradeView AnswerAnswer: A

January 7, 2021 No Comments READ MORE +

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

Which of the following environment variables overrides or extends the list of directories holding shared libraries?A . LD_LOAD_PATHB . LD_LIB_PATHC . LD_LIBRARY_PATHD . LD_SHARE_PATHE . LD_RUN_PATHView AnswerAnswer: C

January 7, 2021 No Comments READ MORE +

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

Which of the following kernel parameters instructs the kernel to suppress most boot messages?A . silentB . verbose=0C . nomesgD . quietView AnswerAnswer: D

January 6, 2021 No Comments READ MORE +

Which of the following could cause this?

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?A . The source file is hidden.B . The source file is read-only.C . The source file is a shell script.D . You do not own the...

January 6, 2021 No Comments READ MORE +

What is the difference between the i and a commands of the vi editor?

What is the difference between the i and a commands of the vi editor?A . i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.B . i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.C ....

January 6, 2021 No Comments READ MORE +

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?A . magicB . typeC . fileD . pmagicE . hashView AnswerAnswer: C

January 6, 2021 No Comments READ MORE +

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)A . shutdown -r nowB . shutdown -r "rebooting"C . telinit 6D . telinit 0E . shutdown -k now "rebooting"View AnswerAnswer: A,C

January 5, 2021 No Comments READ MORE +

Which of the following commands will print the last 10 lines of a text file to the standard output?

Which of the following commands will print the last 10 lines of a text file to the standard output?A . cat -n 10 filenameB . dump -n 10 filenameC . head -n 10 filenameD . tail -n 10 filenameView AnswerAnswer: D

January 5, 2021 No Comments READ MORE +

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)A . Entries for all possible devices get created on boot even if those devices are not connected.B . Additional rules for udev can be created by adding them to /etc/udev/rules.d/.C . When using udev,...

January 5, 2021 No Comments READ MORE +