Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Hard link, symbolic link?

También llamado: hard link · symbolic link

Definition 8.12 University Computer Science — Year 1 · Capítulo 8 — The Shell

A directory entry is a name for a file. A hard link, made by ln a b, is a second name for the same file: both names are equal, and the file disappears only when its last name is removed. A symbolic link, made by ln -s a c, is a small file that holds a path; opening it opens the file at that path, if there is one.

Two hard links and a symbolic link. Removing station.txt leaves the file with one name, copy.txt; the symbolic link still holds the path station.txt, which now names nothing.
Two hard links and a symbolic link. Removing station.txt leaves the file with one name, copy.txt; the symbolic link still holds the path station.txt, which now names nothing.
Leer en el capítulo →