Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Because this is the same user's file, with cp -f it first deletes and then copies.
Answer from Timeweb support.
The -f switch deletes the file and recreates it if the destination file exists and cannot be opened. More details in man: https://pingvinus.ru/note/cmd-cp
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question