软连接和硬链接 touch file1 echo "hello">file1 软连接 ln -s file1 file2 硬链接ln file1 file3 (只能本目录下进行) 删出file1后file3内容还是存在的,file1的内容不存在,两者都不会耗用空间