FG

How is install -c different from cp

Fresh3 days ago
Mar 15, 20268588 views
Confidence Score0%
0%

Problem

What is the difference between and ? Most installations tend to use , but from the page it doesn't sound like it does anything different than (except maybe the ability to also set permissions). When should I use and when ?

Error Output

install -c

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How is install -c different from cp

Low Risk

One significant difference is that cp truncates the destination file and starts copying data from the source into the destination file. install, on the other hand, removes the destination file first. This is significant because if the destination fi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment