Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When i login into shell in ubuntu 12.04 i can see always this message

Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Wed Dec 19 13:41:52

  System load:  0.73               Processes:               133
  Usage of /:   37.5% of 81.73GB   Users logged in:         0
  Memory usage: 3%                 
  Swap usage:   5%                 

  Graph this data and manage this system at https://landscape.canonical.com/

Last login: Wed Dec 19 13:36:52 2012 from

where can find the script?

Note: I've looked in

  • ~/.bashrc
  • /etc/profile
  • /etc/bash.bashrc
  • /etc/profile.d/*

but I have not found it

share|improve this question
2  
/etc/motd /etc/issue /etc/issue.net –  mnmnc Dec 19 '12 at 18:49
add comment

1 Answer

up vote 3 down vote accepted

There are three files that can display message for you after login.

Those are:

/etc/motd [ Message Of The Day ]

/etc/issue

/etc/issue.net

share|improve this answer
    
thanks. I've looking for /usr/bin/landscape-sysinfocommand –  rkmax Dec 19 '12 at 19:31
add comment

Your Answer

 
discard

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.