10

This question already has an answer here:

How can I have my terminal in Ubuntu start with an ASCII banner every time from default?

marked as duplicate by Mateo, Avinash Raj, user117103, mikewhatever, Eric Carvalho Feb 5 '14 at 0:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

10

Your .bashrc file is executed every time you open a new terminal, so if you add this line to it:

echo "____ENTER_ASCII_ART_HERE_____"

That should do it

9

The is a command called banner that will print a banner of ascii art. Install by running

sudo apt-get install sysvbanner

And place a line in your .bashrc file so that it will run every time you start your terminal:

banner EXAMPLE BANNER

And it will print

####### #     #    #    #     # ######  #       #######
#        #   #    # #   ##   ## #     # #       #
#         # #    #   #  # # # # #     # #       #
#####      #    #     # #  #  # ######  #       #####
#         # #   ####### #     # #       #       #
#        #   #  #     # #     # #       #       #
####### #     # #     # #     # #       ####### #######

######     #    #     # #     # ####### ######
#     #   # #   ##    # ##    # #       #     #
#     #  #   #  # #   # # #   # #       #     #
######  #     # #  #  # #  #  # #####   ######
#     # ####### #   # # #   # # #       #   #
#     # #     # #    ## #    ## #       #    #
######  #     # #     # #     # ####### #     #
7

You could use cowsay to show a particular message coming from one of its ascii animals; there are elephants, ducks, dragons, and many more humorous examples.

sudo apt-get install cowsay

List the animals with cowsay -l and then at the top of your ~/.bashrc or ~/.bash_aliases, place, for example, the 'eyes' object:

cowsay -f eyes "Welcome $USER"

You could take advantage of shell variables like $USER or $SHELL, etc, and have them printed to the command line. For how to add the timestamp, see this related question.

enter image description here

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