Search

Make a message appear on opening a terminal


Generally terminals open to the standard prompt, with no other frills with it. (Except in linux mint)


In case you want to change this and want a message to appear each time the terminal is opened then you can do it as shown below.


Open ~/.bashrc using an editor like gedit



At the end of this file add the message that you want to be shown each time the terminal is opened.



For e.g.





Now close the terminal,open a new one and the message should appear as the first thing on the screen of the terminal.


2 comments:

  1. I recommend Figlet, will make everything alot nicer:

    http://www.foresightlinux.se/wiki-en/index.php?title=Figlet

    ReplyDelete
    Replies
    1. That looks very interesting, thank you. Will try it right away.

      Delete