123k views
4 votes
Use the pattern of syntax for Linux commands to view messages generated by the kernel during boot, and display the location of the log files for the kernel messages using ls. You should submit two screen captures.

1 Answer

1 vote

Answer:

Step-by-step explanation:

Now youwill have to enable boot logging by utilizing the following command:

$ sudo gedit /etc/default/bootlogd

You will then find the following line in the opened text editor.

# Run bootlogd at startup ?

BOOTLOGD_ENABLE=No

Replace No with Yes i.e.

BOOTLOGD_ENABLE=Yes

Now at any time you will boot, bootlog will be created in the /var/log/boot

how to open it? There are two ways, either through login in as root or use the sudo command to open it.

you can also head over to the log directory by making use of the command cd /var/log

and when you’re there you can now use ls command to check if all files present in the log folder

you will find file boot also.

The two screen captures are attached below

Use the pattern of syntax for Linux commands to view messages generated by the kernel-example-1
Use the pattern of syntax for Linux commands to view messages generated by the kernel-example-2
User Federico Navarrete
by
5.2k points