How to write more than one line in a launcher

Posted by seraex on Super User See other posts from Super User or by seraex
Published on 2012-06-25T12:00:38Z Indexed on 2012/06/25 15:18 UTC
Read the original article Hit count: 145

Filed under:
|

How can I run three commands in a launcher? My commands are cd /home/seraex/MyDoc

rm MyDoc.tgz

tar cfz MyDoc.tgz *

which will go to my documents folder and delete old backup and make a new backup. At the moment I make a text file and then make a launcher and point it to the file, but I want to delete the file and make the launcher run the commands directly. I'm using ubuntu 10.10

' ubuntu site says 'Unfortunately launchers do not have access to the Bash environment so you cannot just include the multi commands' when i ggole chaining in launchers. thanks, admin may delete the question '

© Super User or respective owner

Related posts about linux

Related posts about bash