UNIX command to dereference a symbolic link?
Fresh3 days ago
Mar 15, 202610235 viewsConfidence Score0%
0%
Problem
Is there a command to dereference a symbolic link? I would like to replace the link by a copy of the file it points to. Example: Now, a and b have the same content but are independent of each other. My question is if there is such a command. Important: I don't have to know where points to; the comm…
Error Output
$ ls a b -> a $ deref b $ ls a b
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: UNIX command to dereference a symbolic link?
Low Risk
You can use to find out the filename, but you don't have to! It's that simple. If you are writing a script to do that, you should use the output of instead of to make sure you don't override already existing file .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix