I want to create a shortcut which it ll execute 2 commands 1)mount -t /asda/asdasd/ /asdasd/asdasd 2)konqueror /asdasd/asdasd I ve tried this one mount -t /asda/asdasd/ /asdasd/asdasd& konqueror /asdasd/asdasd but it didn't work...any ideas? --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now
On Sunday 30 November 2003 15:36, Alaios wrote:
I want to create a shortcut which it ll execute 2 commands 1)mount -t /asda/asdasd/ /asdasd/asdasd 2)konqueror /asdasd/asdasd
I ve tried this one mount -t /asda/asdasd/ /asdasd/asdasd& konqueror /asdasd/asdasd but it didn't work...any ideas?
Yup. That single "&" to combine 2 commands has to be a double one ( i.e. "&&" ). "&" sends the preceeding process to the background. "&&" treats the left and right side commands as booleans. Try "man bash". Cheers, Leen
participants (2)
-
Alaios
-
Leendert Meyer