Most Linux systems have a "message of the day" file. This is almost always located at /etc/motd
This is just a text file, you can put any text you want in this file. It doesn't affect anything except the message you see
when you first login the command line. If you have a server with no GUI, this is what you will see at the login prompt.
If you use ssh or or login thru the serial port, this message will be first thing you will see once you login.
A few examples of what you might want to put here.
Note: you don't need the "<pre>" tags, I just had to use them here, so the text would display correctly.
This is just a text file, you can put any text you want in this file. It doesn't affect anything except the message you see
when you first login the command line. If you have a server with no GUI, this is what you will see at the login prompt.
If you use ssh or or login thru the serial port, this message will be first thing you will see once you login.
A few examples of what you might want to put here.
Code:
Welcome to [Your System Name]!
Have a great day!
Code:
Welcome to [Your System Name]!Server IP: [Your Server IP]Uptime: $(uptime -p)Users: $(who | wc -l)
Code:
"The only way to do great work is to love what you do." - Steve Jobs
Did you know? Honey never spoils. Archaeologists have found pots of honey in ancient Egyptian tombs that are over 3000 years old and still perfectly edible.
Code:
IMPORTANT: Scheduled Maintenance
Date: [Maintenance Date]
Time: [Maintenance Time]
Duration: [Expected Duration]
Please save your work and log out before the maintenance begins. Thank you!
Code:
Welcome to [Your System Name]!
<pre>
_ _ ___ ____ _ _
| | (_)_ __ _ ___ __ / _ \ _ __ __ _ | _ \ ___ ___| | _____| |
| | | | '_ \| | | \ \/ /| | | | '__/ _` | | |_) / _ \ / __| |/ / __| |
| |___| | | | | |_| |> < | |_| | | | (_| | | _ < (_) | (__| <\__ \_|
|_____|_|_| |_|\__,_/_/\_(_)___/|_| \__, | |_| \_\___/ \___|_|\_\___(_)
|___/
</pre>
Note: you don't need the "<pre>" tags, I just had to use them here, so the text would display correctly.
Last edited: