How to Make or Create Symbolic Link in Unix or Linuxどのようにしたり、 Unixや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.シンボリックリンク(シンボリックリンクまたはソフトリンクとしても知られている)を参照しているファイルの特殊なタイプは、ポイントを別のファイルまたはディレクトリは、絶対パスまたは相対パスの形にしてください。 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 is supported on most Unix-like (including Linux) operating systems, Windows Vista (seeほとんどのUnix上でサポートされているシンボリックリンクのような( Linuxなど)オペレーティングシステムには、 Windows Vistaの(参照してください Windows Vista symbolic link, hard link and junction point Windows Vistaのシンボリックリンク、ハードリンクと接合点 ) and to some degree in Windows 2000 and Windows XP. )およびWindows 2000および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.ただし、シンボリックリンクをターゲットにポインティングされると、独立を目標にシンボリックリンク(削除の影響を受けたことはありません)が、直接ターゲットファイル上で動作する場合の動作をプログラムできるよう運営している。
So how to create or make a symbolic link?では、どうやって作成するか、シンボリックリンクを作ってくれる? To create a symbolic, use the following command syntax:象徴的には、以下のコマンドの構文を使用して作成するには:
ln -s [target directory or file] [symlink shortcut] ファイル ln -s [target directory or file] [symlink shortcut]
For example, to link the /usr/local/lib/example directory to /example, use the following command:例えば、 /ローカル/ libに/ /例例えば、ディレクトリは、以下のコマンドを使用します:は/ usrリンクするには
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.上記のシンボリックリンクを作成した後、 /例を指すことには/ usr / / libに/例では、ユーザ名を変更するときに、ローカルディレクトリ( CDの) /例では、 OSのシェルが自動的に変更するには/ usr / local / libに/例ディレクトリにあります。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これはマシンとして"保証なしにされている"提供されているページを翻訳しています。 Machine translation may be difficult to understand.機械翻訳を理解するのが難しい場合があります。 Please refer toを参照してください original English articleオリジナルの英語の記事 whenever possible.可能な場合。
Share and contribute or get technical support and help at共有して貢献するかを得る技術サポートと支援 My Digital Life Forums 私のデジタルライフフォーラム . 。
Related Articles関連記事
- Change Group Ownership of Symbolic Links in Unix or Linuxグループの所有権を変更するシンボリックリンクのUnixやLinuxに
- How to Mount USB Disk Drive in UNIX or Linux USBディスクドライブにマウントする方法UNIXまたはLinuxで
- Refresh Linux or Unix Path Environmental Variables with rehashリフレッシュLinuxやUnixのパス環境変数焼き直しで
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and LinuxどのようにパロディーMACアドレスまたはWindows XPでは、 Vistaは、 Serverの2008分の2003に変更すると、 Mac OS X 、 UnixとLinux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK VistaでMKLINKとのシンボリックリンク、ハードリンクとディレクトリジャンクションを作成
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linuxを開くと、抽出、変換DAA 、 ISOとBINでファイルをLinux上で無料PowerISOとLinux用
- Find Files that are Modified Today (or Since Certain Time Ago) in Unixファイルを修正して下さいは今日(または特定の時間前) Unixで以来
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (強化)同時対応とビッグAIXのUnixでフォーマットボリュームグループの英領バージン諸島
- Create New Table by Selecting Data from Other Tables with CREATE TABLE ASテーブルの作成と同様に他のテーブルからデータを選択して新しいテーブルを作成
- Cheapest Linux Box Ever最も格安のLinuxボックスまで

























