With bash, you can't really do that. If It would be windows, I could have wrote you a Python, aHK, or even Java program in exe, but I don't know how would I do that for linux. Maybe you could execute It with python on linux, or using java to execute a jar file?