[問題] grep -R?
[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嗎 還是我有哪裡用錯呢??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 134.208.25.90
推
12/07 14:07, , 1F
12/07 14:07, 1F
→
12/07 14:07, , 2F
12/07 14:07, 2F
推
12/07 14:23, , 3F
12/07 14:23, 3F
推
12/07 14:25, , 4F
12/07 14:25, 4F
→
12/07 15:04, , 5F
12/07 15:04, 5F
→
12/07 15:07, , 6F
12/07 15:07, 6F
推
12/07 16:43, , 7F
12/07 16:43, 7F
→
12/07 16:43, , 8F
12/07 16:43, 8F
→
12/07 18:05, , 9F
12/07 18:05, 9F
→
12/07 18:06, , 10F
12/07 18:06, 10F
→
12/07 18:07, , 11F
12/07 18:07, 11F
→
12/08 18:49, , 12F
12/08 18:49, 12F
→
12/08 18:51, , 13F
12/08 18:51, 13F