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 私のデジタルライフフォーラム .



Leave a Replyは、返信のままに

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグ :の<a href=""使用することができますtitle=""> <abbr title=""> <acronym title=""> <b>ダウンロード<blockquote cite=""> <cite>の<code> <デル日時= " " >の<em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. 機能を無効に設定されているコメントを購読している。 To receive notification of latest comments posted, subscribe to は、最新コメントの通知を受信するには投稿を購読 My Digital Life Comments RSS feed 私のデジタルライフのコメントRSSフィード or または register to receive 登録受信する new comments in daily email digest. 毎日のメールに新しいコメントを消化する。
Custom Search

New Articles新しい記事

Incoming Search Terms for the Article着信は、文書の検索利用規約

how to create a symbolic link in unix for a directory どのようにディレクトリをUNIXでシンボリックリンクを作成します - -