Thank you, gerrendre.
1 If you have Windows on a separat disk you could go in to BIOS and set it to boot from the disk with Win on it.
seems like it's booting of the other disk now...
-- I tried this option. My windows sits on F:, but the BIOS doesn't let me to change bootdisk from C: to F...
Thanks, pentode, for your suggestions. My problem is there isn't any error messages.
When booting, "grub" is the only word showed up after the system check-up. There is nothing I can do after that.
I thought the boot loader is looking for the linux information.
I had put this question on a Windows 2000 Server forum before, but no one can help me. I hope this is the right place this time.
I got the grub message on my Dell SC600, on which I installed RedHat Linux 8.0 over Windows 2000 Server. It had been working perfectly on both Linux and Windows...
I got the grub message on my Dell SC600, on which I installed RedHat Linux 8.0 over Windows 2000 Server. It had been working perfectly on both Linux and Windows models before I got the “grub” message when I booted the machine. Once “grub” shows on the screen, I can’t do anything.
However, I am...
Thank you, feherke.
I modified your script a little bit by reversing the list order, it works like a charm, on my IBM AIX platform.
% ls -ltr | grep ^d | tail -1
drwxr-xr-x 2 dbl users 512 Aug 21 14:28 82
I have a directory that contains a lot of files/sub-directorys as following.
drwxr-xr-x 2 dbl users 512 Aug 21 13:58 80
drwxr-xr-x 2 dbl users 512 Aug 21 14:19 81
-rwxr-xr-x 1 dbl users 116004 Aug 21 14:27 DEMO.sh
drwxr-xr-x 2 dbl users...
I have a file with some records, each of which has 13 fields seperated by "|":
B|dbl|F0245|PDCS 123|DS0000002| 99||dbl||A||||
How can I trim the leading spaces of Field 6, before '99'? I just need 99: such as
B|dbl|F0245|PDCS 123|DS0000002|99||dbl||A||||
Thank you
David
Vlad,
Idealy, I'd like to get all Field 5 from File_1.dat and File_2.dat. I noticed that something worng with the following code since it always gives me the same NDC11[$2] -- the Field 5 of File_1.dat.
$1 == "F" && length(NDC11[$2])>0 {
print $2 , NDC11[$2], $5
}
To answer your...
Thanks, PHV, for your response. Sorry, I modified the test data before my post.
Here are the files:
File_1.dat
F|FORM|LABEL 1|000710530|00093545800|
F|FORM|LABEL 1|000710530|00093545798|
F|FORM|LABEL 1|122800059|00093545798|
F|FORMWHI|LABEL 2|545693984|00093545798|
F|FORMWHI|LABEL...
I have the following two files, HAVING the exact format, WITH pipe "|" AS the field delimitor.
Please help me out, what's wrong with my script?
Thanks.
WHAT I want IS:
IF ( ($1=="F" for both files) && ($2 OF File_1.dat equals $2 OF File_2.dat) )
THEN
print $5 in File_1.dat & File_2.dat
FI...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.