An administrator has issued the following command: grub-install --root-directory=/custom- grub /dev/sda In which directory will the new menu.lst file be found? (Provide the full directory path only without the filename).
Answer : /CUSTOM-GRUB/BOOT/GRUB,/CUSTOM-GRUB/BOOT/GRUB/
Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. Which of the following commands, entered into a bash initialization file, will have bash recognize vi keystrokes after login?
Answer : D
In the vi editor, which of the following commands will delete the current line at the cursor and the 16 lines following it (17 lines total)?
Answer : B
Which of the following commands will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
Answer : D
An administrator is planning a partition scheme for a new Linux installation. Which of the following directories should the administrator consider for separate partitions? (Select
THREE).
Answer : B,C,E
In bash, inserting 1>&2 after a command redirects:
Answer : C
While editing a file in vi, an administrator realizes that the wrong file is being changed.
Which of the following vi command sequences will allow the administrator to quit without saving any changes?
Answer : B
Which of the following is the default process priority when a process is started using the nice command?
Answer : B
The system configuration file named _______ is commonly used to set the default runlevel.
(Please provide the fill name with full path information).
Answer : /ETC/INITTAB
Which of the following Linux filesystems pre-allocates a fixed number of inodes at filesystems make/creation time, and does NOT generate them as needed?
Answer : A
Which command will display messages from the kernel that were output during the normal bootup sequence? (Please enter only a single command and do not enter duplicate answers in this field.)
Answer : /BIN/DMESG,DMESG
An administrator is looking for an executable file foo. Which of the following commands would search for foo within directories set in the shell variable, PATH?
Answer : B
All of the following commands will execute the bash script /usr/local/bin/runme.sh EXCEPT:
Answer : E
Which of the following directories contains additional information about installed packages?
Answer : D
What file contains kernel level logging information such as output from a network driver module when it is loaded? (Please enter only a single command and do not enter duplicate answers in this field.)
Answer : /VAR/LOG/KERN.LOG,/VAR/LOG/MESSAGES,KERN.LOG,MESSAGES
Have any questions or issues ? Please dont hesitate to contact us