Re: cp command

"Alfred M. Szmidt" <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
   I cannot get the cp utility to accept the -f or the --force command-line 
   option.

This is probobly due to the fact that cp is an alias to 'cp -i', you
can see what aliases there by typing 'alias' in your shell.

$ alias
alias cp='cp -i'
$ cp -f foo bar /tmp
cp: overwrite `/tmp/foo'? y
cp: overwrite `/tmp/bar'? y
$ unalias cp
$ cp -f foo bar /tmp
$
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.