On Monday 07 July 2003 10:28, Johan Scheepers wrote:
> Hi,
> I have written some scripts in gedit to mount and umount my other linux
> flavours on my system. Do not want them in fstab
> OK I did chmod 755 to them and now they show up green. Can be executed with
> ./xxxxxx. They are in my home directory.
> What I would like to do is..
> 1. execute them from anywhere
> 2. Drag them om my user screen and exec from there.
> I know this is possible but missing something.
> Please some help.
> Thanks
> Johan
> .
> May this be a good day for learning

Make a symlink in /usr/bin to the script. Be "su" to do that.
I.e.
bash#> ln -s /usr/bin/xxxx /home/johan/xxxxx

That way you just enter "xxxx" on the CML to run anywhere.

Good luck,
HarM

Incidently: I always use "chmod a+x filename" to make a script executable.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to