'没有这样的文件或目录',但可以' stat'文件

时间:2017-11-15 17:59:03

标签: linux filesystems

我能够stat一个文件或用ls查看它,但是任何其他命令都无法读取该文件:

edcc@dev3:~$ stat /var/www/ihec/tracks/Blueprint/hg19/56880.Blueprint.ERS487362.H3K4me3.signal_unstranded.bigWig
  File: '/var/www/ihec/tracks/Blueprint/hg19/56880.Blueprint.ERS487362.H3K4me3.signal_unstranded.bigWig' -> '/home/genomicdata/ihec_datasets/2017-10/wp10/hg19/0e1deb1cb52cf13a3663f163f9ac6285'
  Size: 82          Blocks: 1          IO Block: 512    symbolic link
Device: 917ah/37242d    Inode: 208798      Links: 1
Access: (0777/lrwxrwxrwx)  Uid: ( 1003/    edcc)   Gid: ( 1003/    edcc)
Access: 2017-11-15 12:43:13.802444330 -0500
Modify: 2017-10-18 14:03:37.711749034 -0400
Change: 2017-10-18 14:03:37.711749034 -0400
 Birth: -

edcc@dev3:~$ cat /var/www/ihec/tracks/Blueprint/hg19/56880.Blueprint.ERS487362.H3K4me3.signal_unstranded.bigWig
cat: /var/www/ihec/tracks/Blueprint/hg19/56880.Blueprint.ERS487362.H3K4me3.signal_unstranded.bigWig: No such file or directory

知道为什么会这样吗?

1 个答案:

答案 0 :(得分:0)

这是一个指向未存在文件的符号链接。