more generic -e cmd