TestOut Linux Pro practice questions
- Type vi /etc/pref_shell to open vim and create the file -Press the a key to enter insert mode (or ctrl + insert keys) and type the required text -Press Esc key to get out of insert mode -:wq to save and exit - You need to use the vim editor to create a script file to change and export the SHELL environmental variable as the C-shell. Complete the following tasks: -Open the vim editor with a new file named /etc/pref_shell -Add the following lines to the file: SHELL=/bin/csh export SHELL -Save and close the file - vi /etc/default/grub -Press i to change to insert mode -Change the first line of the file to GRUB_TIMEOUT=10 -Leave insert mode by pressing Esc and save and exit with :wq -Write changes to by entering grub2-mkconfig -o /boot/grub2/ -Enter reboot to see changes -Login as root - The IT manager in your organization has asked you to change the GRUB_TIMEOUT parameter from 5 seconds to 10 seconds to give the users more time to make a menu selection from the GRUB menu before the default operating system is booted. Once you have changed the GRUB_TIMEOUT parameter from 5 seconds to 10 seconds, reboot the operating system to see the changes made to the wait time from the GRUB menu. After rebooting the operating system, login with the username root and password 1worm4b8. Your task in this lab is to do the following: Change GRUB_TIMEOUT parameter from 5 seconds to 10 seconds -Reboot the operating system to see the changes made to the wait time from the GRUB menu. -Login with the username root and password 1worm4b8 -Type in vi /etc/pref_shell to enter document -change csh to tcsh -:wq to save and exit - You have just added a custom script to change and export the SHELL environmental variable as the C-shell. However, you decide to change from the C-shell to tsch. Your task in this lab is to
Written for
- Institution
- TestOut Linux Pro
- Course
- TestOut Linux Pro
Document information
- Uploaded on
- May 8, 2024
- Number of pages
- 23
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Only questions
Subjects
-
testout linux pro practice questions