Before starting, please let me tell you what CommandLineFu.com is:
Commandlinefu.com is an online repository for recording commandline gems, that you return to again and againBy now, CommandLineFu already has 8,897 commands to get many things done via command line interface (CLI). What is Fu? As simply as its name, Fu is a command line interface which allows us to search, copy, and display information on CommandLineFu.com based on given keyword. For example, you want to what commands related to PDF file, Fu will give you this information:
Installation on Ubuntu
Type the following command to install Fu on Ubuntu:
Brief usage instruction
- git clone git://github.com/samirahmed/fu.git
- cd fu/
- sudo make install
For example, you want to search commands related to PDF file, the command you should type is:
By default, Fu only displays three commands. If you want to display ALL commands available, type the following command:
- fu pdf
In case, there are too many results on the screen, you can limit the number of the search results:
- fu -a pdf
The above command will only display five commands on the screen.
- fu -n 5 pdf
Fu is capable to display URL related to the commands and vote given to it.
- fu -v pdf
Well, if you find any interested command, you can copy it to the clipboard, by typing the following command:
Change number-of-command with the number related to the command displayed on screen.
- fu -c number-of-command
For further information, below is video which shows us how to use Fu, enjoy!
Regards :)