How do you get the Linux kernel command line after boot (e.g. from a shell)?

link|improve this question
feedback

2 Answers

cat /proc/cmdline

OR

dmesg|grep "Kernel command line"

link|improve this answer
Note that /proc/cmdline is much more reliable, since the dmesg buffer size is limited. – CesarB Jun 14 '09 at 20:27
feedback

Press ctrl+alt+f1

link|improve this answer
1  
It will have scrolled off the screen, and you lose the scrollback buffer when you change VTs. – camh Jun 14 '09 at 13:12
feedback

Your Answer

 
or
required, but never shown

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