cp interactive by default

Paul Smith phhs80 at gmail.com
Tue Oct 11 21:03:19 UTC 2005


On 10/11/05, Brian D. McGrew <brian at visionpro.com> wrote:
> I have an entry in ~/.bash_alias
>
> cp () {
>     /bin/cp -i $*
> }
>
> So when I call cp it's a shell function that executes the above command
> and I can override it with an absolute call of /bin/cp.

Thanks, Brian. I have just created a ~/.bash_alias with the same entry
than yours, but no success, i.e., the command cp is still
non-interactive (by default).

Paul




More information about the fedora-list mailing list