Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Hard link, symbolic link?

Dikenal juga sebagai: hard link · symbolic link

Definition 8.12 University Computer Science — Year 1 · Bab 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.
Baca dalam konteks →