Hi,
On Mon, Sep 25, 2000 at 03:17:53PM +0100, Ross Lynch wrote:
> On Mon, 25 Sep 2000, Wesley Darlington wrote:
>> > On Mon, Sep 25, 2000 at 02:35:30PM +0100, Ross Lynch wrote:
> > > Trying to set aliases in a shell script that remain active when the shell
> > > script is finished running. How is it done?
> >
> > You want a program to export variables/aliases to its *parent*? I don't
> > think it can be done without some magic in the parent. Either that or
> > do you just mean `source'ing a shell script?
>> Could be a stupid question, but how come "alias blah=xyz" in a .bashrc
> works?
A .bashrc file is `source'd - executed as part of the bash process - not
run as a separate (child) process.
Wesley.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!