Add some default text to Ctrl-Alt-F1 console to remind myself how to reboot properly

Tags:

Answer: 1

9 hours ago

I do know there are questions and good answers, what to do if Ubuntu just hangs (like this one: What should I do when Ubuntu freezes?). My problem is that such a hang occurs so seldom for me, that I don't remember most of the answers at that time and I have no second machine to ask the Internet while my main system hangs.

I always remember how to open the console using some Ctrl-Alt-Fx combination. So is there a possibility to have some lines of "intro text" in that console, which tell me directly after switching to the console how to kill hanging processes and how to properly reboot? Think of it as a "reminder to self".

DOS had the ability to change the prompt in a console to arbitrary output. Maybe something similar can be done here to get me remember at least the basics?

Added by: Agustin Hansen

Answer: 2

5 hours ago

In the text console, you'll see a line with a text like Ubuntu 10.04 darkstar tty1 just before the login prompt. This message comes from the file /etc/issue, which you can customize to your wishes. The escape sequences are described in the getty(1) manual page.

Added by: Rory Russel

Answer: 3

2 hours ago

Edit the 'message of the day' (motd). This is shown whenever you log in to one of the Ctrl-Alt-Fx terminals. You can edit it with this command: sudo nano /etc/update-motd.d/10-help-text. This is a shell script that prints a help message to the screen. It is only part of the motd. The other 'fragments' can be found in the /etc/update-motd.d directory.

Added by: Estevan Towne DVM

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9