Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add display a message in linux commandline upon logging in?

Tags:

linux

There are certain messages which i wish to display to the personal who is doing putty to a linux shell. How do i like configure some kind of welcome message when people login to the linux shell?

like image 984
Nick Long Avatar asked Oct 29 '08 07:10

Nick Long


People also ask

Which command is used to display a message in Linux?

echo command in linux is used to display line of text/string that are passed as an argument . This is a built in command that is mostly used in shell scripts and batch files to output status text to the screen or a file.

How can you send a message to logged users in Linux terminal?

wall. The wall command (as in "write all") allows you to send a message to all users who are currently logged into the system.


1 Answers

Message of the day, /etc/motd

i.e. edit the /etc/motd text file

like image 118
Maglob Avatar answered Sep 18 '22 15:09

Maglob