Ben Kennish wrote:
> 
> I've just tried this and it doesn't seem to work :-(
> 
> I typed
> #!/bin/sh
> alias rm='rm -i'
> 
> in a new file (/root/.bash.loacle) and exited.  I telnetted in and


Well I actually tried .bash.locale as you suggested - twas a typo. Doh!

Ben


> still, no confirmation on delete.  I tried .bash_locale too.
> 
> Thanks anyway,
> 
> Ben
> PS: love the sig. btw
> 
> [EMAIL PROTECTED] wrote:
> >
> > Ben,
> >
> > just use
> >
> > /root/.bash.locale
> >
> > for the user shell commands
> > (first line: #!/bin/sh)
> >
> > regards
> >
> > jimmy
> >
> > am [Tue, 12 Jun 2001 15:00:27 +0100] schrieb Ben Kennish <[EMAIL PROTECTED]> :
> >
> > > I guess this question isn't that simple after all!  :-)
> > >
> > > Doesn't anyone know the answer?
> > >
> > >
> > > Ben
> > >
> > >
> > > Ben Kennish wrote:
> > > >
> > > > A refreshing change... a question that can be answered in a couple of
> > > > seconds (I hope!)
> > > >
> > > > Why isn't "/root/.bashrc" run when I telnet to a VS as admin?
> > > >
> > > > I've inserted
> > > >
> > > > alias rm='rm -i'
> > > >
> > > > in it but I dont get any prompt to delete files.  Typing the above line
> > > > in manually after having logged on does give me a prompt so the script
> > > > doesnt seem to be getting run?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Ben Kennish
> > > >
> > > > e: [EMAIL PROTECTED]
> > > > w: www.fubra.com
> >
> > James T. Koerting
> >
> > KSD Germany
> > [EMAIL PROTECTED]
> >
> > Murphy's Law: "Anything that can go wrong, will go wrong"
> > Parkinson's Law: "Work expands to exceed available time"
> > Koerting's Law: "Don't fight against these laws"

Reply via email to