Re: [newbie] aliases

2002-04-23 Thread James Thomas
You can make your own in .bashrc (and remove them from there) or (as root) you can edit /etc/profile.d/alias.sh James >Hi, >When I types aliases on Mandrake 8.2 I get list of aliases. Say if I want >to remove a few of them, whichfile should I edit? >Thanks and bye. >-Payal

Re: [newbie] aliases

2002-04-23 Thread Tim Holmes
Word to the wise, do not toy with /etc/profile.d/. Just leave those alone, and as I've detailed in the past, create your own ~/.aliases for your user. (Check the archives. This has been covered before.) The best place to add your aliases is in ~/.aliases. Yes, you can put them in ~/.bashrc and

Re: [newbie] aliases

2002-04-23 Thread Ronald J. Hall
Payal wrote: > > Hello, > >> > /etc/aliases.txt, but be careful which one's you remove > /etc/aliases.txt does not exists at all. > Thanks. > -Payal Well, I think he meant /etc/aliases but still...my understanding is you do this to /home/youruser/.bashrc or /home/youruser/.bash_profile... I'm

Re: [newbie] aliases

2002-04-23 Thread Danny Luker
To change the alias system wide (all users) you can make the needed changes to (as root): /etc/profile.d/alias.sh To make the changes for your user only and preserve the system defaults you can edit ... ~/.bashrc ... so to remove a default alias for, say 'alias md="mkdir"', for your logi

Re: [newbie] aliases

2002-04-23 Thread Payal
Hello, >> /etc/aliases.txt, but be careful which one's you remove /etc/aliases.txt does not exists at all. Thanks. -Payal Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [newbie] aliases

2002-04-23 Thread Roy Murray
/etc/aliases.txt, but be careful which one's you remove - Original Message - From: "Payal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 8:43 AM Subject: [newbie] aliases > Hi, > When I types aliases on Mandrake 8.2 I get li

[newbie] aliases

2002-04-23 Thread Payal
Hi, When I types aliases on Mandrake 8.2 I get list of aliases. Say if I want to remove a few of them, whichfile should I edit? Thanks and bye. -Payal Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [newbie] Aliases

2002-04-03 Thread James Thomas
>On Wednesday 03 April 2002 10:26 am, Jesper Nyholm Jensen wrote: > > Hi, > > How do I create aliases in the bash shell? > With all aliases, they won't take effect till you start a new >terminal. I use . .bashrc to reload my new aliases that I make for myself without having to start a new t

Re: [newbie] Aliases

2002-04-03 Thread James Thomas
>Hi, >How do I create aliases in the bash shell? >-- >Jesper Nyholm Jensen Well, I do it by editing .bashrc in my home directory. If you want to add an alias for all users, edit /etc/profile.d/alias.sh To make an alias, the syntax is (roughly) alias alias-name='alias contents' as in: alias ras

Re: [newbie] Aliases

2002-04-03 Thread Jesper Nyholm Jensen
Hi, I would like to add my aliases to my local profile only(~/bashrc). The one I want is l='ls -l', but it seems this one has already been defined and I can't overload it. Unalias has no permanent effect, I find. What to do? -- Jesper Nyholm Jensen On Wed, 3 Apr 2002, Tom Brinkman wrote: >>>On W

Re: [newbie] Aliases

2002-04-03 Thread Tom Brinkman
On Wednesday 03 April 2002 10:26 am, Jesper Nyholm Jensen wrote: > Hi, > How do I create aliases in the bash shell? First type 'alias' in a terminal to see what you've already got. Then, I make the aliases I want to add in /etc/bashrc to make them global to all users (me ;) As root just use a

[newbie] Aliases

2002-04-03 Thread Jesper Nyholm Jensen
Hi, How do I create aliases in the bash shell? -- Jesper Nyholm Jensen Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [newbie] Aliases

2000-07-10 Thread Mark Weaver
The file is in /etc/aliases the format is: aliasname:aliasvalue That's about all there is to it. You can comment out a line simply by placing a # (pound sign) at the beginning of the line. -- Mark I love my Linux Box... REASON # 2 ...X-windows is just a suedonym. Registere

Re: [newbie] Aliases

2000-07-09 Thread Paul
On Sun, 9 Jul 2000, John Catral wrote: >Hi! I want to add some aliases to mandrake 7.1. How would I do it? >Where do I put the entry and how do I apply it? Thanks in advance =) > >John John, Edit your ~/.bashrc (.bashrc in your home directory) There are some aliases set up already, just add t

Re: [newbie] Aliases

2000-07-09 Thread Keith Robinson
put them in your /etc/aliases file. take a look in there and you will likely find some aliases pre-defined. the general format is ALIASNAME=ALIASVALUE (you don't have to capilize.) one good place to start is from any terminal, type: "help aliases" if your shell is bash (omit the quotes). hope

[newbie] Aliases

2000-07-09 Thread John Catral
Hi! I want to add some aliases to mandrake 7.1. How would I do it? Where do I put the entry and how do I apply it? Thanks in advance =) John

Re: [newbie] ALIASES

2000-04-03 Thread Jon
"Gunther C. Hebein" wrote: > > Hi all! > In which file are the aliases saved that I enter via "alias="? > And how can I enter an alias for ALL Users on my system? > > Ciao > Gunther > > ** > Hebein, Gunther Cyrill > Cand. Pharm. > Innsbruck - Austria > **

[newbie] ALIASES

2000-04-03 Thread Gunther C. Hebein
Hi all! In which file are the aliases saved that I enter via "alias="? And how can I enter an alias for ALL Users on my system? Ciao Gunther ** Hebein, Gunther Cyrill Cand. Pharm. Innsbruck - Austria ** begin:vcard n:Hebein;Gunther fn:Gunther C. Hebein t

Re: [newbie] Aliases and such...

1999-10-29 Thread Thomas J. Hamman
On Thu, 28 Oct 1999, PC wrote: > I cannot believe this wasn't my VERY FIRST question! > > I fashion myself the alias/macro/shortcut King. > > It didn't take long for me to figure out how to write a simple > alias in Linux (Linux% alias xx=exit) or something similar. > I have X.BAT in my C:\WIND

Re: [newbie] Aliases and such...

1999-10-29 Thread yacketta
button like it does in winblows. "PC" <[EMAIL PROTECTED]> on 10/28/99 06:54:39 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Ronald A. Yacketta/958157/EKC) Subject: [newbie] Aliases and such... I cannot believe this wasn't my VERY FIRST

[newbie] Aliases and such...

1999-10-29 Thread PC
I cannot believe this wasn't my VERY FIRST question! I fashion myself the alias/macro/shortcut King. It didn't take long for me to figure out how to write a simple alias in Linux (Linux% alias xx=exit) or something similar. I have X.BAT in my C:\WINDOWS\COMMAND subdirectory... just to let you kn

RE: [newbie] aliases for shell?

1999-09-12 Thread Axalon Bloodstone
; irrelevant > (Steve Heller, 'Efficient C/C++ Programming') > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Philp > > Sent: Sunday, September 12, 1999 12:14 AM > > To: [EMAIL PROTECTED] > &

Re: [newbie] aliases for shell?

1999-09-12 Thread Steve Philp
Ken Wilson wrote: > > Items you edit in the /etc directory won't take effect until the next > time you reboot your machine. Items edited in a person's home > directory, i.e. /home/username/.bash_profile, take effect the next time > the person logs on. The stuff in the /etc directory is global a

Re: [newbie] aliases for shell?

1999-09-11 Thread mas9483
That sounds awfully odd to me... /etc/profile should be executed on login- and your ~/.bashrc should "exec /etc/bashrc" if it exists. What's the line you're inserting into these files? Your syntax may be incorrect. -- -Matt Stegman <[EMAIL PROTECTED]> > If I'm using bash, where in the default

RE: [newbie] aliases for shell?

1999-09-11 Thread Ken Wilson
September 11, 1999 5:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [newbie] aliases for shell? > > > 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

Re: [newbie] aliases for shell?

1999-09-11 Thread John Aldrich
On Sat, 11 Sep 1999, you wrote: > OK, well, maybe there's a flaw in how I'm testing this: [clip] > 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 > eas

Re: [newbie] aliases for shell?

1999-09-11 Thread Ken Archer
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='

Re: [newbie] aliases for shell?

1999-09-11 Thread R. David Whitlock
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

[newbie] aliases for shell?

1999-09-11 Thread R. David Whitlock
OK, here's a real easy one for someone out there: If I'm using bash, where in the default mandrake 6 install does a person add both system wide and personal aliases for execution whenever the shell is opened? I've looked around and added a test alias to almost every file I can think of, but none

Re: [newbie] aliases

1999-05-13 Thread sphilp
On Thu, May 13, 1999 at 04:01:48AM -0500, Meanie wrote: > I thought I knew the answer to this one myself... guess I was wrong. > This is real simple. All I want to do is specify aliases. In > particular, I want 'ls' to be 'ls --color -a -p -w 80'. I have > specified this in /etc/skel/.bashrc an

Re: [newbie] aliases

1999-05-13 Thread Dan Brown
Meanie wrote: > particular, I want 'ls' to be 'ls --color -a -p -w 80'. I have > specified this in /etc/skel/.bashrc and rebooted numerable times, only That will do it for new accounts you create, but it won't change the .bashrc for accounts which already exist. Add that line to ~/.bas

[newbie] aliases

1999-05-13 Thread Meanie
I thought I knew the answer to this one myself... guess I was wrong. This is real simple. All I want to do is specify aliases. In particular, I want 'ls' to be 'ls --color -a -p -w 80'. I have specified this in /etc/skel/.bashrc and rebooted numerable times, only to find that it didn't work. T