Hi, Em Ter, 2005-10-11 às 11:43 -0700, Brian D. McGrew escreveu: > 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. > > -brian > > Brian D. McGrew ( brian@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx ) > --- > > Those of you who think you know it all, > Really annoy those of us who do. > > -----Original Message----- > From: fedora-list-bounces@xxxxxxxxxx > [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Paul Smith > Sent: Tuesday, October 11, 2005 11:41 AM > To: For users of Fedora Core releases > Subject: cp interactive by default > > Dear All > > Is there some way of setting, by default, the interactive mode for > command cp? > > Thanks in advance, > > Paul Or you can just create an alias: alias cp='cp -i' Add the above line to ~/.bashrc if you want to setup this for your user only, or add it to /etc/bashrc for all users. []'s Marcelo