10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello;
I have a simple loop filtering a log:
for LU in $(< LU-list-Final)
do
OUT=$(grep -B1 $LU cibc-src-ip.cap |egrep 'IP 16|IP 19|IP 15' |awk -F">" '{print $1}')
if ; then
echo " LU $LU was accessed by ===============> $OUT "
echo ""
fi
done
The current output snippet looks like... (2 Replies)
Discussion started by: delphys
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I was trying to dos2unix a file that has some special characters but dos2unix converted those into different format. I am working on sun server.
I guess the default for dos2unix on sun server is ISO format .
Can i change the format so that it does the conversion in UTF format?
Because I... (3 Replies)
Discussion started by: abhi1988sri
3 Replies
3. UNIX for Dummies Questions & Answers
For the past ten years I have owned a blade 100, and I had Solaris 9 running on it.
Due to the fact, 9 is woefully out of date, I wanted to try 10, but 10 needed more ram, so I beefed up the ram to the full 2 gig. I have two 15 gig ide drives in the box (stock drives). But unfortunately solaris... (2 Replies)
Discussion started by: RichardET
2 Replies
4. AIX
Hey guys,
I'm a newbie in Unix world..
Currently in my office lies an old IBM RS6000 which hasn't been maintained for a very long time. The former admin has resigned and we don't have any documentation or whatsoever regarding the old machine. All I know that it is an RS6000 is because of what's... (4 Replies)
Discussion started by: arch4ng3l
4 Replies
5. Shell Programming and Scripting
I would like to keep the complete lines in the output, but my script adds carriage returns for each space (e.g. keep BRITISH AIRWAYS on one line in the output):
File1=
BAW
BRITISH AIRWAYS
RYR
RYAN AIR
for i in $(cat File1)
do
echo $i
done
Output:
BAW
BRITISH
AIRWAYS
RYR... (4 Replies)
Discussion started by: barny
4 Replies
6. Solaris
i am not able to install solaris 10
i have installed solaris many times succesfully with wotking network
after that abrupt power failure i was never able to start solaris and neither install during install it hangs
IS IT PROBABLE THAT BIOS OR SOME OTHER SETTINGS RELATED TO HARDWARE IS... (3 Replies)
Discussion started by: simaich8
3 Replies
7. UNIX for Advanced & Expert Users
I cannot seem to get this text file to format. Its as if the awk statement is being treated as a simple cat command.
I manned awk and it was very confusing. I viewed previous posts on this board and I got the same results as with the
the awk command statement shown here. Please help.
... (6 Replies)
Discussion started by: tekline
6 Replies
8. UNIX for Advanced & Expert Users
Unix Gurus,
I have a text file I have FTP'd to UNIX so that I can use it to load into our Baan system. When vi the file, I can see that there are formatting characters at the end of each line (^M). To get rid of these, I have read that the following should work:
:%s/^M$//g - with the ^M... (11 Replies)
Discussion started by: ERPKEN
11 Replies
9. Shell Programming and Scripting
Hi
Suppose we have a file consisting of nos in following format
123 - 789
123 - 828
345 - 989
345 - 792
I require the following output
123, 789,828
345, 989,792
Means Unique nos in 1st Column and Corresponding two nos in comma separated 2nd Column
Please help me out... (6 Replies)
Discussion started by: PradeepRed
6 Replies
10. UNIX for Dummies Questions & Answers
about 2 months ago i installed mandrake linux 8.0 however due to my current internet setup (dial up upsteam, and cable downstream) i was never able to get it configured properly so i gave up untill i could change to an all cable isp...well that day is tomorrow!!!
what i would like to know is... (1 Reply)
Discussion started by: justchillin
1 Replies