Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked.

Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual x86_64)

 * Documentation:

  System information as of Sat Jul 13 06:16:35 UTC 2013

  System load:  0.55              Processes:           96
  Usage of /:   8.1% of 68.74GB   Users logged in:     0
  Memory usage: 55%               IP address for eth0:
  Swap usage:   0%                IP address for eth1:

  => There is 1 zombie process.

  Graph this data and manage this system at

223 packages can be updated.
134 updates are security updates.

Last login: Mon Jul  8 17:47:05 2013 
share|improve this question
up vote 5 down vote accepted

You can show anytime when you wish this message - message of the day - using next command in terminal:

cat /etc/motd

or, better:

for i in /etc/update-motd.d/*; do if [ "$i" != "/etc/update-motd.d/98-fsck-at-reboot" ]; then $i; fi; done

If you want to see this message everytime when you open a terminal, just insert one of the above lines at the end of ~/.bashrc file (you can open it with gedit ~/.bashrc command).

The /etc/motd is a file on Unix-like systems that contains a "message of the day", used to send a common message to all users, in a more efficient manner than sending them all an e-mail message.

More about:

Related: How is /etc/motd updated?

share|improve this answer

I suppose this is managed by PAM, via /etc/pam.d/login, look for motd (message of the day).

You can produce the static part of that message with cat /etc/motd. I do not have the dynamic part that you show, so I cannot help with that.

share|improve this answer

You could run landscape-sysinfo for system information and /usr/lib/update-notifier/update-motd-updates-available for information about packets

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.