Tab-completion friendly names for start / stop

Posted by Ben Page on Super User See other posts from Super User or by Ben Page
Published on 2012-07-02T10:29:26Z Indexed on 2012/07/04 9:19 UTC
Read the original article Hit count: 262

Filed under:
|
|
|

I have many scripts that are used to start and stop services. It is frustrating when using tab completion that you need to type:

 ./serviceScript.sh [sta|sto]

before there is enough information for tab-completion to complete the word start or stop.

Does anyone have a different pair of words that could be sensibly used in the place of start stop, or alternatively, a better solution to my problem?

© Super User or respective owner

Related posts about bash

Related posts about script