Skip to content

Generate Random ASCII Art in shell

cpx May 4, 2014 1 min read Bash/BASH

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

 

Be the first to comment

protected · no tracking

0 comments