Re: [newbie] Bash and Aliases problem

1999-10-23 Thread Axalon Bloodstone
On Fri, 22 Oct 1999, John Aldrich wrote: > On Fri, 22 Oct 1999, you wrote: > > John Aldrich wrote: > > > > > > On Fri, 22 Oct 1999, you wrote: > > > > > > > > not the only way.. > > > > su - `whoami` > > > > > > > Wierd...it gives me an "invalid option --w" Is it supposed > > > to? > > >

Re: [newbie] Bash and Aliases problem

1999-10-23 Thread Axalon Bloodstone
On Fri, 22 Oct 1999, John Aldrich wrote: > On Fri, 22 Oct 1999, you wrote: > > > > If you put the quotes backwards it will. You're looking for the ones > > next to the '1'. :) > > > Ahh...Ok. :-) The way it appeared on my screen at work was the one > next to the 'enter' key. :-) > John

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread John Aldrich
On Fri, 22 Oct 1999, you wrote: > John Aldrich wrote: > > > > On Fri, 22 Oct 1999, you wrote: > > > > > > not the only way.. > > > su - `whoami` > > > > > Wierd...it gives me an "invalid option --w" Is it supposed > > to? > > John > > If you put the quotes backwards it will. You're look

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread John Aldrich
On Fri, 22 Oct 1999, you wrote: > > If you put the quotes backwards it will. You're looking for the ones > next to the '1'. :) > Ahh...Ok. :-) The way it appeared on my screen at work was the one next to the 'enter' key. :-) John

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread Steve Philp
John Aldrich wrote: > > On Fri, 22 Oct 1999, you wrote: > > > > not the only way.. > > su - `whoami` > > > Wierd...it gives me an "invalid option --w" Is it supposed > to? > John If you put the quotes backwards it will. You're looking for the ones next to the '1'. :) -- Steve Philp N

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread John Aldrich
On Fri, 22 Oct 1999, you wrote: > > not the only way.. > su - `whoami` > Wierd...it gives me an "invalid option --w" Is it supposed to? John

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread Robert Benson
You do not need to logout and log backin to make new alias's in a .bachrc file take affect. Just use "source .bashrc". This is a UNIX command to execute a script file. >From: John Aldrich <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] &

Re: [newbie] Bash and Aliases problem

1999-10-22 Thread Axalon Bloodstone
On Thu, 21 Oct 1999, John Aldrich wrote: > On Thu, 21 Oct 1999, you wrote: > > > > the source command (as in source .bashrc) should run the script and put > > the changes in to effect with no need to log out. > > > True. However, the only way to be SURE is to log out and then log > back in (it'

Re: [newbie] Bash and Aliases problem

1999-10-21 Thread Justin Rickert
you are usin " instead of '

Re: [newbie] Bash and Aliases problem

1999-10-21 Thread Justin Rickert
If you are using bash enter the terminal and type alias the_new_command_name='the_original_command_name' just like that

Re: [newbie] Bash and Aliases problem

1999-10-21 Thread John Aldrich
On Thu, 21 Oct 1999, you wrote: > Hi everyone: > > I am trying to set up some aliases for frequently used commands. > I have tried adding them to ~/.bashrc and /etc/profile and /etc/bashrc, > but have not had any luck in getting bash to recognize the aliases. > Would there be any reason at all t

Re: [newbie] Bash and Aliases problem

1999-10-21 Thread John May
When I make aliases, I put them into the /etc/bashrc file, so that no matter who I login as, I always have them. Here is how I formatted my aliases: alias ls="ls -Fa --color" This would alias the "ls" command to show all dot files in color. Othere commands should be similar such as: alias rm=

Re: [newbie] Bash and Aliases problem

1999-10-21 Thread yacketta
From: Ronald A. Yacketta are you sure your using bash? echo $SHELL "prabhakar+nitika" <[EMAIL PROTECTED]> on 10/21/99 01:19:51 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Ronald A. Yacketta/958157/EKC) Subject: [newbie] Bash and Aliase

[newbie] Bash and Aliases problem

1999-10-21 Thread prabhakar+nitika
Hi everyone: I am trying to set up some aliases for frequently used commands. I have tried adding them to ~/.bashrc and /etc/profile and /etc/bashrc, but have not had any luck in getting bash to recognize the aliases. Would there be any reason at all that my ~/.bashrc would not get read by bash

[newbie] Bash and Aliases problem

1999-10-21 Thread prabhakar+nitika
Hi everyone: I am trying to set up some aliases for frequently used commands. I have tried adding them to ~/.bashrc and /etc/profile and /etc/bashrc, but have not had any luck in getting bash to recognize the aliases. Would there be any reason at all that my ~/.bashrc would not get read by bash