Simple program to execute commands on keypress on headless Linux