Disable clearing of boot messages

From ArchWiki
Revision as of 17:45, 23 July 2005 by Mr Green (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Q: How can I turn OFF clearing the screen after system has booted so I can see the messages that are printed out during system startup?

A: Delete the first character of /etc/issue It looks like: ^[c

Q: How do I put it back again?

A: You can't just type the characters back as you have to put a literal escape character. This is editor dependent. In vim:

<verbatim> i (insert) ctrl-v (insert literal character) ESC (insert escape character) c ESC (exit insert mode) ZZ (Save and Exit) </verbatim>

But if you want to keep the screen clear after logging out on a virtual terminal, without clearing after system has booted, just do:

<verbatim> echo clear >> ~/.bash_logout </verbatim>