Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

シンボリックリンクの作成と削除 ref: http://qiita.com/mugyuu/items/2e99304bd92201261c60

View file0.txt
1 2 3 4 5
hoge# ln -s /hoge/fuga/watshi ./watashi
もしくは
hoge# ln -s /hoge/fuga/watshi watashi
また、もし同じ名前でいいのなら、
hoge# ln -s /hoge/fuga/watshi
View file0.txt
1
lrwxrwxrwx 1 hoge hoge 24 Feb 5 16:20 watashi -> /hoge/fuga/watshi
View file0.txt
1 2
hoge# ln -s /hoge/fuga/watshi/ ./watashi/
ln: target `./watashi/' is not a directory: No such file or directory
View file0.txt
1 2 3
hoge# ln -s /hoge/fuga/watshi/ ./watashi
hoge# ll
lrwxrwxrwx 1 hoge hoge 24 Feb 5 16:20 watashi -> /hoge/fuga/watshi//
View file0.txt
1 2
hoge# rm ./watashi
rm: remove symbolic link `watashi'? y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.