Re: printing and .profile problems
Just a note .. if you have a ~/.bash_profile file than bash will ignore your
.profile file.
Don't forget everyone here is making an assumption you are using the bash
shell .. if you are using a csh derivative than the .profile will be
ignored and those same commands will not work.
The csh version of an alias is
alias lo 'logout'
Good luck,
Michael
>
> At 03:13 PM 8/7/96 +0200, bigl@tg.com.pl wrote:
> >On Tue, 6 Aug 1996, chris beamis wrote:
> >
> >>
> >> 2. another problem, which I didn't have under Slackware, is using a .profile
> >> in the user's home area. I have just one line in it, "alias 'lo'=exit" which
> >> has always worked before but the lo commanded doesn't get recognized. I also
> >> tried renaming the file to .login but still no luck. Any ideas?
> >>
> >
> >This line should look like:
> >
> >alias lo='exit'
> >
> >but NOT like:
> >
> >alias 'lo'=exit
> >
> >Did it work?!?!?!?!?
> >
> >
> >Leszek Gerwatowski
> >TG S.A
> >Warsaw, Poland
> >
> >
>
> Leszek,
> Sorry, I should have mentioned that it is the same .profile which I've
> always used successfully with Slackware releases. I was going from memory
> which is the only reason I got the quotes wrong. There is something else
> going on causing bash or something to ignore my .profile.
>
> Thanks anyway.
>
> Chris Beamis
>
>
Reply to: