Saturday, April 14, 2012

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.


0 comments:

Post a Comment