touch file1 ln -s file1 file2 在当前目录下创建软链接file2到file1 ln -s /root/file1 /root/test/file2 在目录/root/test下创建软链接file2 到 file1