Register
It is currently Tue Oct 21, 2014 9:12 pm

launching a shell who then launches some commands into it


All times are UTC - 6 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Wed Jan 28, 2009 12:12 pm   

Joined: Wed Jan 28, 2009 12:06 pm
Posts: 2
Hello everyone 8)

this is my first post here, but may not the last! :D


I was trying to create a shortcut on my desktop to launch a script. This script should open a shell on the desktop, then into this very shell run one or several commands.
well i can easily launch konsole with a script, but then, how to make that another command is directly running into the shell the script justed opened on the desktop?

thanks for help dudes


Top
 Profile  
 PostPosted: Thu Jan 29, 2009 8:55 am   
Moderator
User avatar

Joined: Thu Oct 11, 2007 7:12 am
Posts: 229
Location: London - UK
From the konsole man page;

-e <command> [ arguments ]
Execute 'command' instead of shell.

Looks simple enough, sadly i don't have immediate access to a konsole to test it.


Top
 Profile  
 PostPosted: Thu Jan 29, 2009 9:44 am   

Joined: Wed Jan 28, 2009 12:06 pm
Posts: 2
thanks for help, the "e" option is what i needed yes! 8)


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP