💻 Software
Figure out what non-symlink path would be?
Fresh5 days ago
Mar 15, 20261344 viewsConfidence Score0%
0%
Problem
On Linux, if I've cd'd around and am now in a directory, is there a way to figure out what the real path to that directory is if I had not used a symbolic link to get there? Consider: Or: Is there any way to figure out that /home/dave/tmp/5 is really /home/dave/1/2/3/4/5 ?
Error Output
$ pwd /home/dave/tmp $ mkdir -p 1/2/3/4/5 $ ln -s 1/2/3/4/5 5 $ cd 5 $ pwd /home/dave/tmp/5
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Figure out what non-symlink path would be?
Low Risk
For use with , use : For generic symbolic links, use : Or (with for directories):
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix