Skip to content

Motd parts written in bash (Includes welcome message, system info and "inspirational" footer)

Notifications You must be signed in to change notification settings

xtrinch/update-motd.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOTD bash scripts

Displays:

  • distribution info
  • last login
  • system load
  • ip
  • uptime
  • memory usage
  • disk usage
  • swap usage
  • number of active ssh sessions
  • number of processes, total and owned by user

Installation (debian jessie)

  • remove /etc/motd and symlink dynamic motd with ln -s /var/run/motd /etc/motd
  • remove default "last login" text in /etc/ssh/sshd_config
  • install lsb_release, fortune and cowsay via apt-get or aptitude
  • copy/clone files into /etc/update-motd.d/

Testing

  • execute command run-parts /etc/update-motd.d/ for preview of the output

Screenshot

motd screenshot

About

Motd parts written in bash (Includes welcome message, system info and "inspirational" footer)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages