当前位置: 技术问答>linux和unix
大家帮我来看看这个是怎么回事?
来源: 互联网 发布时间:2017-01-01
本文导语: 同一目录下,我进行了如下操作,结果: $ ls -l java* lrwxrwxrwx 1 root other 16 Jul 25 13:46 java -> ../java/bin/java lrwxrwxrwx 1 root other 17 Jul 25 13:46 javac -> ../java/bin/javac lrwxrwx...
同一目录下,我进行了如下操作,结果:
$ ls -l java*
lrwxrwxrwx 1 root other 16 Jul 25 13:46 java -> ../java/bin/java
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javac -> ../java/bin/javac
lrwxrwxrwx 1 root other 19 Jul 25 13:46 javadoc -> ../java/bin/javadoc
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javah -> ../java/bin/javah
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javap -> ../java/bin/javap
lrwxrwxrwx 1 root other 18 Jul 25 13:47 javaws -> ../java/bin/javaws
$ ls ../java
COPYRIGHT README_ja.html THIRDPARTYLICENSEREADME.txt demo jre man src.zip
README.html README_zh_CN.html bin include lib sample
$ cd ../java
ksh: ../java: not found
这个目录../java明明不存在,怎么还能ls出来呢?
$ ls -l java*
lrwxrwxrwx 1 root other 16 Jul 25 13:46 java -> ../java/bin/java
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javac -> ../java/bin/javac
lrwxrwxrwx 1 root other 19 Jul 25 13:46 javadoc -> ../java/bin/javadoc
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javah -> ../java/bin/javah
lrwxrwxrwx 1 root other 17 Jul 25 13:46 javap -> ../java/bin/javap
lrwxrwxrwx 1 root other 18 Jul 25 13:47 javaws -> ../java/bin/javaws
$ ls ../java
COPYRIGHT README_ja.html THIRDPARTYLICENSEREADME.txt demo jre man src.zip
README.html README_zh_CN.html bin include lib sample
$ cd ../java
ksh: ../java: not found
这个目录../java明明不存在,怎么还能ls出来呢?
|
重启下机器试试
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。