> Roy Cormier wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You know when you type: startx..it starts X.
> And you don't have to be in a specific directory when you type it.
>
> How would i do that with any other program. like if i wanted to start
> a certain ircd from any dir by typing: ircd anywhere
>
> thanx..
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2
>
> iQA/AwUBN9s9ZCnpnu/dHCKOEQI2CQCgrfmixf0JOuXaWBfUrEneWu5NomoAnRTX
> 9agej66oX5f7j7mGcmCNZMmu
> =jw2u
> -----END PGP SIGNATURE-----
Hi, Roy,
You can set a symbolic link to the program in a directory which is in
your path. The /bin directory is most likely in your path. If you want
to start a program called /home/roy/progs/application from anywhere, do
ln -s /home/roy/progs/application /bin/application
This will set up a file /bin/application which is linked to the
program. Then whenever you type 'application', it'll execute the
program. Good luck,
Hidong