How to Make or Create Symbolic Link in Unix or Linux Cara Membuat atau Buat Symbolic Link di Unix atau Linux
Symbolic link (also known as symlink or soft link) is a special type of file that has reference that points to another file or directory, in the form of an absolute or relative path. Link simbolik (symlink juga dikenal sebagai lunak atau link) adalah khusus jenis file yang memiliki referensi yang menunjuk ke file atau direktori lain, dalam bentuk sebuah path relatif atau absolut. Symbolic link can be used just like the target original file or folder, as it merely contains a text string that is interpreted and followed by the operating system to another file or directory. Symbolic link dapat digunakan seperti target awal file atau folder, karena hanya berisi string teks yang diinterpretasikan dan diikuti oleh sistem operasi ke file atau direktori.
Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Simbolis link didukung pada kebanyakan mirip Unix (termasuk Linux) sistem operasi, Windows Vista (lihat Windows Vista symbolic link, hard link and junction point Windows Vista simbolis link, link keras dan titik persimpangan ) and to some degree in Windows 2000 and Windows XP. ) Dan untuk beberapa derajat pada Windows 2000 dan Windows XP. Although symbolic link is pointing to a target, it operates independently of its target (deletion of symbolic link does not been affected), but allows program to behave as if operating directly on the target file. Meskipun simbolis link yang menunjuk ke target, ia beroperasi secara independen dari target (penghapusan link simbolis tidak pernah terpengaruh), namun memungkinkan program bertingkah seakan-akan beroperasi secara langsung pada target file.
So how to create or make a symbolic link? Jadi, bagaimana untuk menciptakan atau membuat link simbolis? To create a symbolic, use the following command syntax: Untuk membuat simbolis, gunakan sintaks perintah berikut:
ln -s [target directory or file] [symlink shortcut]
For example, to link the /usr/local/lib/example directory to /example, use the following command: Misalnya, untuk menghubungkan / usr / local / lib / contoh ke direktori / contoh, gunakan perintah berikut:
ln -s /usr/local/lib/example /example
After creating the symbolic link above, /example will point to /usr/local/lib/example, and when user changes directory (CD) to /example, OS shell will automatically change it to /usr/local/lib/example directory. Setelah membuat simbolik link di atas, / contoh akan menunjuk ke / usr / local / lib / contoh, ketika pengguna dan perubahan direktori (CD) ke / contoh, OS shell akan berubah secara otomatis ke / usr / local / lib / direktori contoh.
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman yang diterjemahkan mesin dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Mesin terjemahan mungkin sulit dimengerti. Please refer to Silakan merujuk ke original English article artikel asli Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- Change Group Ownership of Symbolic Links in Unix or Linux Mengubah Group Kepemilikan dari Symbolic Link di Unix atau Linux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Buat Symbolic Link, dan Hard Link Direktori Junctions di Vista dengan MKLINK
- Refresh Linux or Unix Path Environmental Variables with rehash Refresh Linux atau Unix Path Variabel Lingkungan dengan pengulangan
- How to Mount USB Disk Drive in UNIX or Linux Mau ke Gunung USB Disk Drive di UNIX atau Linux
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum Cara Hitung dan Menghasilkan MD5 Hash Nilai di Linux dan Unix dengan md5sum
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Ubah cara atau spoof MAC Address pada Windows XP, Vista, Server 2003/2008, Mac OS X, Unix dan Linux
- Convert and Create Windows, Mac OS X, or Linux Icons with iConvert Mengkonversi dan Buat Windows, Mac OS X, atau Linux dengan Ikon iConvert
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Terbuka, dan Ambil Mengkonversi daa, dan BIN ISO File di Linux dengan PowerISO Gratis untuk Linux
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix Cari Berkas yang Dimodifikasi Today (atau Sejak Beberapa Waktu Ago) di Unix
- Oracle Database Link Oracle Database Link









































