Spyderserve Web Development

Creating a custom command is sometimes very convenient and very easy.

1. Create a bash script and save

#!/bin/bash

# The code goes here

2. Make the script executable

chmod +x [script]

3. Then you can either move it into the /usr/bin directory or create a soft link in /usr/bin to the script file

ln -s [script file] [desired command name]

That’s it!

Source: http://en.kioskea.net/faq/2540-linux-create-your-own-command
http://linux.about.com/od/commands/l/blcmdl1_ln.htm

Spyderserve  2225 Bemiss Road Suite D Valdosta, Georgia 31602 United States