FG
💻 Software

How can I create a symlink which points to another symlink?

Fresh7 days ago
Mar 15, 202624668 views
Confidence Score0%
0%

Problem

Is there any way to create a symbolic link which points to another symbolic link? I have link A (pointing to address1 = ) in /home/data directory and I need to create link B in which is points to link A. If I do , it doesn't work.

Error Output

/home/data/username/var

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I create a symlink which points to another symlink?

Low Risk

The argument order is So you'd want Update: I'd forgotten the flag in my sample, so it was trying to create hard links, which WILL traverse symlinks to try and point at whatever the link is pointing at. With symlinks, you can nest them as deep as yo…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment