Question
LINUX (ubuntu) please. Please show the screenshot results. Perform the following tasks using vi : 1. Launch the editor on an empty (non-existent) file. 2.
LINUX (ubuntu) please. Please show the screenshot results.
Perform the following tasks using vi:
1. Launch the editor on an empty (non-existent) file.
2. Type the following text into the empty file:
menuentry "Gentoo (3.0.4)" {
set root=(hd0,2)
linux /bzImage-3.0.4 ro root=/dev/sda6 dolvm
initrd /initramfs-genkernel-x86_64-3.0.4
}
menuentry "Gentoo (3.1.4)" {
set root=(hd0,2)
linux /bzImage-3.1.4 ro root=/dev/sda6 dolvm
initrd /initramfs-genkernel-x86_64-3.1.4
}
3. Duplicate the second menu entry (from menuentry "Gentoo (3.1.4)" { to the end of the file).
4. Edit the second copy of this entry to change all three instances of 3.1.4 to 3.2.2.
5. Delete the first menu entry (for the 3.0.4 kernel; that is, the first five lines of the file).
6. Save the new file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started