Generate Random ASCII Art in shell

How to generate random ascii art in shell:

wget -qO - http://www.asciiartfarts.com/random.cgi | sed -n '/<pre>/,/<\/pre>/p' | sed -n '/<table*/,/<\/table>/p' | sed '1d' | sed '$d'

You may consider daily cron to put the output in the motd file:

/etc/motd

 

Leave a Reply

Your email address will not be published. Required fields are marked *