[root@localhost boot]# ls
config-2.6.29.4-167.fc11.i686.PAE lost+found
config-2.6.30.9-99.fc11.i686.PAE System.map-2.6.29.4-167.fc11.i686.PAE
efi System.map-2.6.30.9-99.fc11.i686.PAE
grub vmlinuz-2.6.29.4-167.fc11.i686.PAE
initrd-2.6.29.4-167.fc11.i686.PAE.img vmlinuz-2.6.30.9-99.fc11.i686.PAE
initrd-2.6.30.9-99.fc11.i686.PAE.img
[root@localhost boot]# grep -R 10 *.lst
grep: *.lst: 沒有此一檔案或目錄
[root@localhost boot]#
=====================在boot 目錄下以遞迴方式 用grep搜尋 "10"這個字串 說找不到
但
[root@localhost boot]# cd grub
[root@localhost grub]# grep 10 *.lst
timeout=10
[root@localhost grub]#
其實明顯的在grub目錄下 有內容為10的這個字串
這是bug嗎 還是我有哪裡用錯呢??
--
config-2.6.29.4-167.fc11.i686.PAE lost+found
config-2.6.30.9-99.fc11.i686.PAE System.map-2.6.29.4-167.fc11.i686.PAE
efi System.map-2.6.30.9-99.fc11.i686.PAE
grub vmlinuz-2.6.29.4-167.fc11.i686.PAE
initrd-2.6.29.4-167.fc11.i686.PAE.img vmlinuz-2.6.30.9-99.fc11.i686.PAE
initrd-2.6.30.9-99.fc11.i686.PAE.img
[root@localhost boot]# grep -R 10 *.lst
grep: *.lst: 沒有此一檔案或目錄
[root@localhost boot]#
=====================在boot 目錄下以遞迴方式 用grep搜尋 "10"這個字串 說找不到
但
[root@localhost boot]# cd grub
[root@localhost grub]# grep 10 *.lst
timeout=10
[root@localhost grub]#
其實明顯的在grub目錄下 有內容為10的這個字串
這是bug嗎 還是我有哪裡用錯呢??
--
All Comments