创建软连接
ln -s 1.txt 1-softlink.txt
创建硬链接
ln 1.txt 1-hardlink.txt
linux 软连接和硬链接示意图
原文:http://www.cnblogs.com/birdofparadise/p/7304887.html