Skip to content

Generate Random ASCII Art in shell

cpx May 4, 2014 1 min read 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

 

0 0 votes
Article Rating
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x