UNIX/コマンド/ファイル管理/ln
Table of Contents |
% stat [filename]
% ln [source] [target]
% ls -i
% ls -li hoge hige 2375801 -rw-r--r-- 2 s1080134 student 0 2003-09-30 19:56 hige 2375801 -rw-r--r-- 2 s1080134 student 0 2003-09-30 19:56 hoge
% ln -s [source] [target]
% ls -F
% ls -l
% ln -s source test/target
target -> source
% ln -s ../source test/target
% cd test
% ln -s ../source .
% ln -s ~/source ~/test/
% cd -P [シンボリックリンク]