Към съдържанието
bub.im

Generate Random ASCII Art in shell

cpx May 4, 2014 1 min четене Shell/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 коментара