Exam LFCS All QuestionsBrowse all questions from this exam
Question 9

SUMULATION -

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

    Correct Answer:

    cmdline - The file 'cmdline' in the /proc filesystem contains the command-line parameters that were passed to the kernel by the bootloader at boot time. These parameters can be used to configure the kernel and set options for the operating system. Therefore, the correct file name without any path is 'cmdline'.

Discussion
Buruguduystunstugudunstuy

The file that lists parameters passed from the bootloader to the kernel in the /proc filesystem is /proc/cmdline. The /proc/cmdline file contains the command-line parameters that were passed to the kernel by the bootloader at boot time. These parameters can be used to configure the kernel and set options for the operating system. They can be viewed by using the cat command to display the contents of the /proc/cmdline file. For example: cat /proc/cmdline