Rick Moen <[EMAIL PROTECTED]> writes:

>> how can i copy files from one directory to another
>> without prompting me to overwrite existing files?
> Do "unalias cp", and try again.

In detail:

Many systems alias cp, mv and rm to their interactive versions (-i) by
default because it is all too easy to accidentally remove or overwrite
something important if you aren't paying attention. These systems
assume that if you know how to unset the default, then you also know
to be cautious when doing such things.

To unset the alias, simply add unalias <command> to your ~/.bashrc .
For example,

    unalias cp

If ~/.bashrc does not yet exist, feel free to create it. 

You may be interested in aliasing other commands. For example, I tend to

    alias ls='ls --color -F '

to get nice colors and indicators. =)
-- 
Sacha Chua <[EMAIL PROTECTED]> - 4 BS CS Ateneo geekette
interests: emacs, linux, wearables, teaching compsci
_
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