What is Fu?
A simple commandline utility for querying commandlinefu.com
What is commandlinefu.com
CommandlineFu.com is an awesome website written by David Winterbottom It has a collection of neat commandline one liners for the unix shell
Why Fu ?
Fu makes commandlinefu more accessible because I find that I use CommandlineFu.com most when actually in the commandline
How do I use it?
You can query fu by adding any search terms as arguments
For example if you want to search for how to "send binary mail attachment"
$ python fu.py send binary mail attachment # Send email with one or more binary attachments echo "Body goes here" | mutt -s "A subject" -a /path/to/file.tar.gz firstname.lastname@example.org # Send a binary file as an attachment to an email uuencode archive.tar.gz archive.tar.gz | mail -s "Emailing: archive.tar.gz" email@example.com 804ms total:2
Using as unix executable
There is a very easy way to make this script an executable and add it to path on unix
If you want to use fu as a command you can