Quoting Glynn S. Condez ([EMAIL PROTECTED]):

> do the command "alias" to see the systemwide aliases.

Well, that's aliases valid in the current shell, anyway.  (alias and
unalias are shell built-in commands.)

> as what Rick says, you can disable systemwide alias for cp by issuing
> unalias cp, you could enable cp alias by alias cp='cp -i'.

The closest thing to "systemwide" would be something in
/etc/skel/.bashrc , but individual users could of course override that
with their own ~/.bashrc files.

In any event, I'm pretty sure that setting "alias anything=anything_else"
at the command line affects only that shell (and any subshells).

But I thought it would be relevant to say why such aliases for cp, mv,
and rm might be considered a very bad idea:  You come to rely upon their
being present, and then may be very unpleasantly surprised in some
situation where they aren't there.

A lot of people seem to think "My distribution defaulted to this setup;
therefore, it must be a good idea."  I'd suggest that that's a mistake.

-- 
Cheers,                                      "My file system's got no nodes!"
Rick Moen                                    "How does it shell?"
[EMAIL PROTECTED]  
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to