links on linux

A link in UNIX is a pointer to a file or a directory. Creating links is a kind of shortcuts to access a file (because the path may be hard to remember for example).

There are two types of links :

— Soft Link or Symbolic links

— hard link

links behave differently when the source of the link is moved or removed. Symbolic links are not updated (they merely contain a string which is the pathname of its target); hard links always refer to the source, even if moved or removed.

=>Hard links are more flexible than soft links

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Medifit: The Medical Data Plug-in

Two Ways to Deploy Next.js Static Web Apps Service on Azure

Secure NestJs Rest API with Keycloak

SharePoint Development — For non-windows machines

Router with Express.js

[BOJ + Node.js] 2501: Finding Factors

Computor

React hooks with TypeScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Eya Nani

Eya Nani

More from Medium

Lombok Experimental Annotations

Flowers Image Classifier

CS373 Spring 2022: Sumedh Chilak — Week 3

About vSAN — 1 / Overview