08-08-2007
sweet!!
Thanks Shell_life.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which is 5 million records. And each records has 412 fields has delimited by "|". So that makes each records to be 2923 bytes long. I wanted to extract specific records like top 100 or 2500 - 5000, 50001 - 10000 etc. from this file.
I tried using head command for top 100 records,... (1 Reply)
Discussion started by: acheepi
1 Replies
2. IP Networking
i had a problem when using the bind function.. that is when i create a socket and bind it with a address(usually some file name)... when i run it once it goes on fine but the second time it tells a error since there is already a socket file in that name created by my previous run...
but when i... (2 Replies)
Discussion started by: damn_bkb
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Experts,
It may be a trivial thing, but I am stuck. Whenver I try to open a file using vi I get error Terminal Too wide.
I am using putty to connect to a Sun OS.
Please advice.
bash-2.05$ vi all_subs_ded_20080203.txt
Terminal too wide
:q
1 more file to edit:q (3 Replies)
Discussion started by: RishiPahuja
3 Replies
4. Programming
Hi,
I need a way to bind the lifescope of a file to the lifescope of a process, but that file needs to remain visible in the filesystem for other processes. I've been able to do this on Widows based OSes, but the UNIX based OSes solution have eluded me so far. I am aware of the common solution... (3 Replies)
Discussion started by: Fronsac
3 Replies
5. Shell Programming and Scripting
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)
Discussion started by: manneni prakash
5 Replies
6. IP Networking
hi all,
i have an udp based application that doesn't bind to any particular address.
-->while sneding the packets, i have some doubts....
1) can the packet be transmitted with an source ip address as 0.0.0.0
2) if we select an interface based on destination ip address,... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies
7. Shell Programming and Scripting
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
Discussion started by: rydz00
7 Replies
8. Shell Programming and Scripting
Hi,
I have two input files as
File1 :
ABC:client1:project1
XYZ:client2-aa:project2
DEF:client4:proj
File2 :
client1:W-170:xx
client2-aa:WT-04:yy
client4:L-005A:zz
Also, array of valid values can be hardcoded like
Output :
ABC:W:project1
XYZ:WT:project2 (1 Reply)
Discussion started by: aa2601
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to open small size file only in vi editor on solaris or Linux machine
but it giving message "Terminal too wide" and then I have to come out.
As shown below:-
-rwxr-x--- 1 rkycadm rkycprd 2445 Sep 12 04:06
$ vi file.txt
Terminal too wide
:q!
----------... (2 Replies)
Discussion started by: RahulJoshi
2 Replies