Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to find out with what parameters did the kernel boot?

For example if I specify noexec=off at the grub command line? Can I see this sort of info after the system has finished booting?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The string of boot parameters the kernel was booted with is stored in the /proc/cmdline file. (/proc is a virtual filesystem that contains information about the running system and processes. There is a lot of useful information in there!)

To display it on a terminal, just run:

cat /proc/cmdline
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.