SCMD stands for Search Command and it’s actually a very simple bash script that allows you to download new commands and also share your own commands.

NOTE I: Before you can download the latest list of commands you need “wget” installed!
NOTE II: Before you can share your own list of commands you need “ftp” installed!
NOTE III: Before you can use scmd correctly you need to have “gawk” installed!

Example: sudo apt install wget ftp gawk #Debian / Ubuntu / Elementary
Example: sudo yum install wget ftp gawk #Fedora / RedHat / CentOS

Those file will either be downloaded (master) or created automatically when saving your own commands (personal)
Command file (master) = $HOME/.scmdr
Command file (personal) = $HOME/.scmdl


1) Open terminal / Command line
2) cd $HOME
3) wget -q -O scmd
4) chmod 755 scmd
5) ./scmd -upgrade
6) source ~/.bashrc
7) scmd

This is the simple help command!


This is a example of saving a command that previously did not exist, you can then look online find the command and save it for future referrence


Here I demonstrate that if a command already exist it won’t be saving it and just display a message saying it’s duplicate and for this example I only used a simple echo command


This shows how easy it is to share your own list of command with others, as soon as you have a list of new commands run $ scmd -share and it will attempt to upload your personal list of command onto the ftp server and as soon as I have a chance I will check the commands and remove any inapropriet and duplicate and upload it to the master list.


At time you may want to be more specific with the search and should it be available it will come up, all you need to do is use double quotes like this “full string”



Initially, you will be prompted if you have not yet downloaded the master list of command in which case all you have to do is run the following command $ scmd -download
But that is not only for the initial setup I recommend you run that command every time you can’t find what you are searching perhaps someone else has already submitted and I’ve added it to the master list and by running the -download command again you gain a new master without affecting your local list


Currently, this is the initial version of the script but I intend to continue working on it and improving as I find the time and new ideas or even find issues and bugs 🙂

So periodically run the command $ scmd -upgrade or stay tuned and I will always post any updates.

Any issues let me know here or at Twitter: @gcclinux
At the moment it’s a small list of command, no more than 200 or so but I have another 200+ to add on my own so keep the master / remote list up to date and share any new commands.