grep -R? - Linux
By Olive
at 2009-12-07T11:32
at 2009-12-07T11:32
Table of Contents
[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嗎 還是我有哪裡用錯呢??
--
Tags:
Linux
All Comments
By Genevieve
at 2009-12-11T08:08
at 2009-12-11T08:08
By Sierra Rose
at 2009-12-13T17:37
at 2009-12-13T17:37
By Anthony
at 2009-12-15T09:00
at 2009-12-15T09:00
By Daph Bay
at 2009-12-15T17:05
at 2009-12-15T17:05
By Joe
at 2009-12-15T19:17
at 2009-12-15T19:17
By Mason
at 2009-12-18T17:30
at 2009-12-18T17:30
By Ida
at 2009-12-21T09:50
at 2009-12-21T09:50
By Aaliyah
at 2009-12-24T00:06
at 2009-12-24T00:06
By Kumar
at 2009-12-27T10:37
at 2009-12-27T10:37
By Caitlin
at 2009-12-28T15:04
at 2009-12-28T15:04
By Frederica
at 2010-01-01T03:36
at 2010-01-01T03:36
Related Posts
fstab 修改
By Rae
at 2009-12-07T11:31
at 2009-12-07T11:31
fstab 修改
By Mary
at 2009-12-07T10:54
at 2009-12-07T10:54
fstab 修改
By Kelly
at 2009-12-07T06:46
at 2009-12-07T06:46
螢幕右下角出現"AMD Unsupported Hardware"圖示!?
By Zora
at 2009-12-06T23:48
at 2009-12-06T23:48
linux 架的mail問題
By Robert
at 2009-12-06T19:47
at 2009-12-06T19:47