I would like to have one single file in my /bin which would "listen" to various commands, e.g.
when I type into my console
ck sx
I would like script ck to do "sx" command, and when I type
ck st
I'd like it to do another thing, "st".
I bet it's easy to achieve I just don't know how exactly.
The idea is to have certain commands avaialbe from every location in my system. I want to control XAMPP behavior with very short commands so I don't have to click around all the time.
Is it something connected with one script with various parameters?
Or maybe I should just register given commands (or paths) to some "global commands" file?
I'm running Ubuntu 10.04.