command | figlet

Make anything more awesome

Pipe any command through figlet to make the output more awesome. Example: ls | figlet
Sample Output
_          _ _                            _     _ 
| |__   ___| | | ___   __      _____  _ __| | __| |
| '_ \ / _ \ | |/ _ \  \ \ /\ / / _ \| '__| |/ _` |
| | | |  __/ | | (_) |  \ V  V / (_) | |  | | (_| |
|_| |_|\___|_|_|\___/    \_/\_/ \___/|_|  |_|\__,_|

25
By: isaacs
2009-05-03 21:20:46

These Might Interest You

  • alternatives: xinit $(which gnome-awesome-session) with cat /usr/local/bin/gnome-awesome-session: #!/bin/bash exec gnome-session --session awesome "$@" following: http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome note: in ubuntu 12.10 a probable Xephyr recent bug rejects keybd option ... Show Sample Output


    -2
    xinit $(which awesome) -- /usr/bin/Xephyr :5 -once -fullscreen -ac -keybd "ephyr,,,xkbmodel=pc105,xkblayout=it,xkbrules=evdev,xkboption="
    hute37 · 2012-11-03 00:54:33 0
  • sends notification msg within repeated intervals of time to notify-send ;) Just for fun.


    -1
    while $i;do `notify-send -t 200 "You are awesome :)"`;sleep 60; done;
    pahnin · 2011-02-14 18:49:38 4
  • # from xfce session to avoid keyboard shortcut clashing # start xephyr in VGA1 monitor: Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5 # then start an xterm locally export DISPLAY=:5.0 xterm # and remote ssh (no X fw needed if local tcp with access disablesd (-tcp -ac) => UNSECURE!!! ssh remote-host export DISPLAY=notebook:5.0 xrdb -merge ~/.Xresources xterm -geometry 132x50-0+0 # start awesome dbus-launch $(which awesome) dex -a -e Awesome Show Sample Output


    0
    Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5
    hute37 · 2016-09-12 15:59:07 0
  • The really awesome bash completion in debian seems to be an extra package now, which has to be installed. After sourcing /etc/bash_completion it completes almost everything (package names in apt... etc) :-) To make this permanent, put something like this in your .bashrc: if [ -f /etc/bash_completion]; then source /etc/bash_completion fi


    3
    aptitude install bash-completion ; source /etc/bash_completion
    flart · 2009-10-07 09:27:02 1
  • I'm working in a group project currently and annoyed at the lack of output by my teammates. Wanting hard metrics of how awesome I am and how awesome they aren't, I wrote this command up. It will print a full repository listing of all files, remove the directories which confuse blame, run svn blame on each individual file, and tally the resulting line counts. It seems quite slow, depending on your repository location, because blame must hit the server for each individual file. You can remove the -R on the first part to print out the tallies for just the current directory. Show Sample Output


    16
    svn ls -R | egrep -v -e "\/$" | xargs svn blame | awk '{print $2}' | sort | uniq -c | sort -r
    askedrelic · 2009-07-29 02:10:45 6
  • In the sample output I used google.com. Show Sample Output


    -13
    mtr <URL>
    techie · 2013-05-10 09:48:23 9

What Others Think

I never thought to pipe anything through figlet before. Now I am happy.
unixmonkey3441 · 471 weeks and 6 days ago
If you lose your glasses: script | figlet
isaacs · 471 weeks and 5 days ago
It's also fun to pass the -f parameter and play with fonts For example: command | figlet -f small command | figlet -f script command | figlet -f block etc.
Dhraakellian · 471 weeks and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: