Logoff as user and then log back in again and your changes should take effect.
On Sat, 11 Sep 1999, you wrote:
> OK, well, maybe there's a flaw in how I'm testing this:
>
> I edit ~/.bashrc which before I edit it looks like this: # .bashrc
>
> # User specific aliases and functions
> alias rm='rm -i'
> alias mv='mv -i'
> alias cp='cp -i'
>
> So I add the line
> alias clr='clear'
> to the end
>
> And then exit out of the konsole I'm in. Start up a new Konsole in KDE or
> flip to a new VT, log in and type clr.
>
> Never heard of it, says the shell. (sigh). This has got to be absurdly
> easy, but I'm just missing something. (oh, and btw, yes, I edit all the
> files in the /etc dir as root. And if the modification I use doesn't
> work, I remove it and find a new file to mess with...)
>
> Later,
> david
>
> "Without the Law, there is no Liberty. Without Justice, there is no Law."
>
>
> On Sat, 11 Sep 1999, John Aldrich wrote:
>
> > On Sat, 11 Sep 1999, you wrote:
> > >
> > > I have edited ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and I
> > > think some others, all to no avail. Do I just need to use a different
> > > shell, or create a config file or what? I know I used to have this set
> > > up, I don't remember how in other dists...
> > >
> > Here's my ~/.bashrc, and everything there works fine:
> > ========================
> >
> > # .bashrc
> >
> > # User specific aliases and functions
> > alias rm='rm -i'
> > alias mv='mv -i'
> > alias cp='cp -i'
> > alias clr='clear'
> > alias cls='clear'
> > alias ls='ls --color'
> > alias sx='startx -- -bpp 16'
> > alias v='ls --color'
> > alias bye='logout'
> >
> > export EDITOR=/usr/bin/joe
> >
> > # Need for a xterm & co if we don't make a -ls
> > [ -n $DISPLAY ] && {
> > . /etc/profile.d/alias.sh
> > }
> >
> > # Read first /etc/inputrc if the variable is not defined, and after the
>/etc/inputrc
> > # include the ~/.inputrc
> >
> > [ -z $INPUTRC ] && export INPUTRC=/etc/inputrc
> >
> > # Source global definitions
> >
> > if [ -f /etc/bashrc ]; then
> > . /etc/bashrc
> > fi
> >
> > ========================
> > Ok...here's the $64,000 question: HOW did you enter the "test
> > aliases"? Were you "root" when you made the changes? If not, chances
> > are it won't work (except for the personal ~/.bashrc and
> > ~/.bash_profile) Also, did you enter the alias defs EXACTLY as
> > follows:
> > alias command='some_other_command'
> > ??? Please note the SINGLE quotes around "some_other_command." above.
> > John
> >
--
Kenneth Archer + San Antonio, Texas
[EMAIL PROTECTED] ICQ #24980801
Powered by Linux ++ Mailed by Kmail