Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a shell script for my LXDE desktop, which runs rdiff-backup. What I would like is for this to open up a terminal with the output.

Coming from Windows, this would automatically be done. (example, run batch file with xcopy for backup). How can I do this on Linux?

share|improve this question
    
The only stupid question is the one not asked ;) –  Wuffers Oct 23 '10 at 23:56

2 Answers 2

up vote 0 down vote accepted

Xterm has the -e flag, which can run a script/command. Other terms should have similar.

xterm [other_flags] -e path_to_your_script &
share|improve this answer
    
worked perfect, thank you –  Franky S Oct 25 '10 at 2:26

Create a launcher for the shell script that runs it in a terminal.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.