Create a soft link for fileA named softlinkA. (Verify using ls -l)

To create a soft link (symbolic link) for fileA named softlinkA, follow these steps:

bashCopyEditln -s fileA softlinkA

Step 2: Verify using ls -l

bashCopyEditls -l

Expected Output:

sqlCopyEditlrwxrwxrwx 1 user user   6 Mar 29 12:34 softlinkA -> fileA
  • l at the beginning indicates a symbolic link.

  • softlinkA -> fileA shows that softlinkA points to fileA.

0
Subscribe to my newsletter

Read articles from Ravi Vishwakarma directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ravi Vishwakarma
Ravi Vishwakarma