Environment
- Bash in normal linux
- Executable file: /usr/bin/eexxee
Requirement
I need to run the follow command only once:
bash
eexxee -a xxxx -b xxxx
and we can start this command with these follow similar command-lines:
bash
eexxee -b xxxx -a xxxx
/usr/bin/eexxee -b xxxx -a xxxx
/usr/bin/eexxee -a xxxx -b xxxx
Now I want to write a shell/python script to start this command with checking if the similar command-line is running.
Question
How can we judge the matching of these similar command-lines?