[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp command

From: Alfred M. Szmidt
Subject: Re: cp command
Date: Sat, 02 Nov 2002 23:56:23 +0100

   I cannot get the cp utility to accept the -f or the --force command-line 

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]