Created
April 26, 2014 12:50
-
-
Save naosim/11319348 to your computer and use it in GitHub Desktop.
シンボリックリンクの作成
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.実際にシンボリックリンクを張りたい場所に移動する。 | |
cd /var/www/html/aaa/ | |
2.ファイル、ディレクトリを指定し、下記コマンドを実行する。 | |
ln -s /var/www/html/bbb/img img | |
3.「/var/www/html/aaa/img」にアクセスすると「/var/www/html/bbb/img」を参照する。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment