What is the difference between a hard link and a symbolic link?

What is the difference between a hard link and a symbolic link?

In linux, the use of a shell in order to make some actions with some files, like open, remove, paste, create, and a lot of other functions. One of those are interesting and it is the possibility to make links between the files.

For create a soft link you need the command ln and the parameter -s that referers to the soft link. This soft link is like an arrow that pointing to one target, and this target is the file that I want to link

No hay texto alternativo para esta imagen
By the other hard, a hard link is the way to create a mirror file to the original file. If you affect the original file in any way, the mirror will be affected in the same way to. 


No hay texto alternativo para esta imagen











To view or add a comment, sign in

More articles by Pilar Andrea Pinto Chaparro

  • Mutable or Immutable... That is the question

    In several programming languages, there is the idea of immutable and mutable objects. But where does this concept come…

  • A new paradigm based on objects

    Object-oriented programming is the basis on which python was built, one of the most widely used languages today. This…

  • C -libraries

    In the programming and in general engineering world is important to do the things and the processes in an efficient…

    1 Comment
  • Negative numbers in computers

    In the current days, computers are the main part of our lives in that way that we usually do not have an idea of how it…

  • C static libraries

    A library is a set of variables and functions that can be used for a lot of programs, just using a header files for…

  • What happens when you type gcc main.c

    To introduce this topic, we have to clarify that it is C, it is one of the most relevant languages that exist in the…

  • What happens when you type ls *.c

    For start this discussion we have to know Linux, Linux is an open source operative system that is commonly used with…

Insights from the community

Others also viewed

Explore topics