그냥 "ls *"명령의 출력에 대해 혼동합니다. 우분투 11.10과 레드햇 엔터프라이즈 6.3의 시나리오 아래에서 동일한 결과를 얻었다."ls *"의 출력이 일치하지 않습니다
쉘 디렉토리 "ABC"가 생성 된 후 "LS *"의 출력이 비어있는 이유
$ uname -a
Linux 2.6.32-279.19.1.el6.x86_64 #1 SMP Sat Nov 24 14:35:28 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
$ echo $0
-bash
$ cd test
$ ls
$ ls * *<== at first, no file/directory under current work directory*
ls: cannot access *: No such file or directory
$ mkdir abc *<== create a new directory "abc"*
$ ls * *<== output of "ls *" is empty but directory "abc" has been created.*
$ mkdir abcd *<== create the second directory "abcd"*
$ ls * *<== at this point, all the directories("abc" and "abcd") are displayed.*
abc:
abcd:
사람이 설명 할 수 로그? 감사.
정확히 바로, 당신이 말한 것을 확인했습니다. 감사. – thinkhy