DEV Community

A Personal MOTD

LucasAlt on June 17, 2018

Today, we are going to modify the MOTD that appears when we connect SSH to our server. Generally, it gives you some general information about you...
Collapse
 
moopet profile image
Ben Sinclair

I run something like

hostname | figlet | lolcat | sudo tee /etc/motd

where figlet and lolcat may or may not come with your distro.

Collapse
 
felnasa profile image
Ahmed Ben Abid

Hello,
About the /etc/init.d/bootlogs error you need to verify if the file exists and executable. And if it does, execute the script:
[ -x /etc/init.d/bootlogs ] && /etc/init.d/bootlogs