[100777] in RedHat Linux List
Re: Starting a Program Easily
daemon@ATHENA.MIT.EDU (Anthony E. Greene)
Mon Nov 23 10:20:16 1998
Date: Mon, 23 Nov 1998 16:18:49 +0100
To: redhat-list@redhat.com
From: "Anthony E. Greene" <agreene@pobox.com>
In-Reply-To: <3.0.5.32.19981123064628.007c7d40@mail>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
At 06:46 1998-11-23 -0800, Kurt Harper wrote:
> Now, how do I go about starting it up
>without having to wade through countless direct-
>ories to find an executable file? In DOS to start
>programs one could use a series of batch files
>located in a directory that was in the path. Is
>that how it is done in Linux? And how would I do
>it if it is necessary to start X-Windows first,
>then the program? Can one construct a multi-step
>"batch" file?
You could do this with a shell script, which is the *nix analog of batch
files. But shell scripts are *much* more powerful that batch files.
If you want the script to run no matter where you are when uyou issue the
command, then place it in your path. I usually place such scripts in
/usr/local/bin or /usr/local/sbin, depending on who needs to be able to run
it.
You could also add the command to your window manager. If you use Red Hat's
default fvwm2 then take a look at the files in /etc/X11/wmconfig. If you
use KDE then you can set this up through the GUI.
Tony
--
Anthony E. Greene <agreene@pobox.com>
Homepage and PGP Key: <http://www.pobox.com/~agreene/>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.