Re: How to run a command from context menu in terminal?
If you want to run a program in a terminal with multiple parameters you have to use quotes e.g.
Code:
xfce4-terminal -e "yourscript %f"
or the terminal will think you have more than one parameter for it.
One more tip (you may already know this): if you want the terminal to wait for a key press at the end of a script, so you don't lose the output, add this command before exiting
Code:
read -p END-OF-SCRIPT
You can replace the end-of-script with "Press any key to continue..." etc.
Cheers!
husband@wife$ make sandwich
Permission denied
husband@wife$ sudo make sandwich
Bookmarks