---
title: "Discussion on \"Delete fileA and check whether softlinkA and hardlinkA are still accessible. (Explain the difference in behavior)\" | Hashnode"
description: "Discussion on \"Delete fileA and check whether softlinkA and hardlinkA are still accessible. (Explain the difference in behavior)\". Step 1: Delete fileA\nbashCopyEditrm fileA\n\nStep 2: Check Accessibility of softlinkA and hardlinkA\nbashCopyEditls -l softlinkA hardlinkA\n\nExpected Behavior:\n1. Soft Link (softlinkA) Behavior\n\nsoftlinkA will break and become a dangling (invalid) link b..."
url: "https://hashnode.com/posts/delete-filea-and-check-whether-softlinka-and-hardlinka-are-still-accessible-explain-the-difference-in-behavior/67e7dcaf680dec59508a9157"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Delete fileA and check whether softlinkA and hardlinkA are still accessible. (Explain the difference in behavior)](https://cloudcomutingandnetworking.hashnode.dev/delete-filea-and-check-whether-softlinka-and-hardlinka-are-still-accessible-explain-the-difference-in-behavior?utm_source=hashnode&utm_medium=feed)

Step 1: Delete fileA bashCopyEditrm fileA Step 2: Check Accessibility of softlinkA and hardlinkA bashCopyEditls -l softlinkA hardlinkA Expected Behavior: 1. Soft Link (softlinkA) Behavior softlinkA will break and become a dangling (invalid) link b...

Mar 29, 2025 · 1 min read · cloudcomutingandnetworking.hashnode.dev  
Read the article

-   [#hardlinks-softlinks](https://hashnode.com/tag/hardlinks-softlinks)
-   [#hardlink-softlink-symboliclink-filesystem-unix-linux-fileorganization-backupstrategies-filereferencing-filesystemmanagement](https://hashnode.com/tag/hardlink-softlink-symboliclink-filesystem-unix-linux-fileorganization-backupstrategies-filereferencing-filesystemmanagement)
-   [#deletefile](https://hashnode.com/tag/deletefile)

## Written by

[Ravi Vishwakarma](https://hashnode.com/@ravishwakarma)

@ravishwakarma

  
[View profile](https://hashnode.com/@ravishwakarma)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
