simplify shell command