Hi, Thanks a lot Siddhartha. This time I got it. when i use the individual search its working but when i use (^gr|li) its not working. Thanks again for the help.
-- Subhamoy --- Siddhartha Basu <[EMAIL PROTECTED]> wrote: > Hi, > These are what i have come up with so far > i) Check the bootloader you have installed using > your > distro specific package manager. However, it does'nt > work if you have installed both. > > ii) Adding a pipe to sayam's solution. > head /dev/hdx |strings | egrep -i (^gr|li) > optional: > head /dev/hdx |strings | grep -i -e ^gr > head /dev/hdx |strings | grep -i -e ^li > > Subhamoy i think adding the "-i" (case insensitive > option) will give you the output. > > -siddhartha > > > --- Subhamoy Mukherjee <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Thanks sayam and sid. > > But when i use > > # head /dev/hda |strings > > I get the following : > > > > lbaLILO > > ZRrI > > D|f1 > > GRUB > > Geom > > Hard Disk > > Read > > Error > > pPf1 > > Loading stage1.5 > > Geom > > Read > > Error > > 0.92 > > /grub/stage2 /grub/grub.conf > > ^_[] > > > > Its confusing. > > > > And when i use the extra pipe as told by Sid. > there > > is > > no o/p. > > Need help ...waiting . > > > > -- > > Subhamoy > > > > > > --- Siddhartha Basu <[EMAIL PROTECTED]> wrote: > > > > > Nice one sayam. > > > I just added one more pipe for a cleaner output. > > > head /dev/hda | strings | egrep "^(gr|li)" > > > output: grub > > > > > > What's your output :-) > > > > > > -siddhartha > > > > > > > > > > > > > > > --- Sayamindu Dasgupta <[EMAIL PROTECTED]> > > > wrote: > > > > On Mon, 2004-09-06 at 23:11 -0700, Subhamoy > > > > Mukherjee wrote: > > > > > Dear All, > > > > > > > > > > Is there any option/command thru which I can > > > check > > > > > which Bootloader I'm currently using without > > > > > restarting my machine. I'm using RedHat 9. > > > > > > > > > > > > > > > > > Maybe > > > > > > > > head /dev/hdx | strings > > > > > > > > would be of help ?? > > > > > > > > :-P > > > > > > > > -sdg- > > > > > > > > > > > > -- > > > > Sayamindu Dasgupta > (সায়মিন্দু > > > > দাশগুপ্ত) > > > > [http://sayamindu.randomink.org/ramblings] > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, send mail to > > > [EMAIL PROTECTED] > > > > with the body > > > > "unsubscribe ilug-cal" and an empty subject > > line. > > > > FAQ: http://www.ilug-cal.org/node.php?id=3 > > > > > > > > > > > > > ________________________________________________________________________ > > > Yahoo! India Matrimony: Find your life partner > > > online > > > Go to: http://yahoo.shaadi.com/india-matrimony > > > > > > -- > > > To unsubscribe, send mail to > > [EMAIL PROTECTED] > > > with the body > > > "unsubscribe ilug-cal" and an empty subject > line. > > > FAQ: http://www.ilug-cal.org/node.php?id=3 > > > > > > > > > > > > > _______________________________ > > Do you Yahoo!? > > Win 1 of 4,000 free domain names from Yahoo! Enter > > now. > > http://promotions.yahoo.com/goldrush > > > > -- > > To unsubscribe, send mail to > [EMAIL PROTECTED] > > with the body > > "unsubscribe ilug-cal" and an empty subject line. > > FAQ: http://www.ilug-cal.org/node.php?id=3 > > > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your life partner > online > Go to: http://yahoo.shaadi.com/india-matrimony > > -- > To unsubscribe, send mail to [EMAIL PROTECTED] > with the body > "unsubscribe ilug-cal" and an empty subject line. > FAQ: http://www.ilug-cal.org/node.php?id=3 > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
