10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I have different files and i need to split the files in that folder split in to 8 parts with equal number of lines....!
any fastest way of doing this in awk.
for an example i have a file called "BillingDetails_BaseFile.csv" with total line count 65536 and i need to split in to 8 parts... (1 Reply)
Discussion started by: Raghuram717
1 Replies
2. Shell Programming and Scripting
Hi Guys,
I have file A.txt
1
2
3
4
5
6
7
8
9
10
11
Want Output :-
1 2 3 (3 Replies)
Discussion started by: pareshkp
3 Replies
3. UNIX for Dummies Questions & Answers
Hi, I have a file like this:
aaa 123
aaa 223
aaa 225
bbb 332
bbb 423
bbb 6755
bbb 324
ccc 112
ccc 234
ccc 897
Which I need to split into several files, something like
split -l 3
but the way that the lines with the same names would only go into one file: (7 Replies)
Discussion started by: coppuca
7 Replies
4. UNIX for Dummies Questions & Answers
I Am connected to Whatbox.ca Seed Box Via SSH!!
i have a file named avicii.mp3. I Want to split it into two rar parts as Apart1.rar and Apart2.rar So That When i Download Both the parts to My PC And Extract Them They Come out As Whole Avicii.mp3.
There is also one more problem!! When I Rar A... (18 Replies)
Discussion started by: anime12345
18 Replies
5. Shell Programming and Scripting
I have number in file which contains date and serial number:
2013101000.
The last two digits are serial number (00). So maximum of serial number is 100.
After reaching 100 it becomes 00 with incrementing 10 which is day with max 31.
after reaching 31 it becomes 00 and increments 10... (31 Replies)
Discussion started by: Natalie
31 Replies
6. Shell Programming and Scripting
Hello All,
I have a file like this
APPLY
( 'INSERT INTO brdcst_media_cntnt (
cntnt_id
,brdcst_media_cntnt_cd
,cntnt_prvdr_cd
,data_src_type_cd
,cntnt_titl_nm
,cntnt_desc
,batch_dt
,batch_id
) VALUES
(
:cntnt_id (3 Replies)
Discussion started by: nnani
3 Replies
7. Shell Programming and Scripting
I have a logfile from which i need to extract certain pattern based on the time but the problem here is the time is not same for all days.
Input file:
Mon 12:34:56 abvjingjgg
Mon 12:34:57 ofjhjgjhgh
.
.
.
Mon 22:30:00 kkfng
.
.
.
Mon 23:12:23 kjgsdafhkljf
.
.
.
Tue 01:04:54... (8 Replies)
Discussion started by: gpk_newbie
8 Replies
8. UNIX for Dummies Questions & Answers
I have gone through all the threads in the forum and tested out different things. I am trying to split a 3GB file into multiple files. Some files are even larger than this.
For example:
split -l 3000000 filename.txt
This is very slow and it splits the file with 3 million records in each... (10 Replies)
Discussion started by: madhunk
10 Replies
9. Shell Programming and Scripting
Hello, I'm trying to retreive certain bits of info from a file.
the file contains a list like this
info1:info2:info3:info4
info1:info2:info3:info4
info1:info2:info3:info4
info1:info2:info3:info4
how do i pick out only info2 or only info3 without the others?
Thanks (11 Replies)
Discussion started by: bebop1111116
11 Replies
10. UNIX for Dummies Questions & Answers
Every time we build an executable the date and time are put into the file, I need to run checksum on just the working lines.(IE, no header files)
Is this even possible, if so how would I go about it?
I am using a HP-UX server any help you can give me will be greatly appreciated.
Thanks (6 Replies)
Discussion started by: crazykelso
6 Replies