Sunday, May 25, 2014

Keep xterm open after running a command

If you want to keep xterm open after it has run a command, it's actually a lot easier then you think.

Just a -hold option remember -e is always the last option

Example of what it usually does:

xterm -e cat * Dropbox/

Example of keeping the xterm open after execution: (Click the windows X to close)

xterm -hold -e cat * Dropbox/