10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
File 1 contains the list of words that needed to be randomly paired:
Tiger
Cat
Fish
Frog
Dog
Mouse
Elephant
Monkey
File 2 contains the pairs that should not be used (in any solution) during random pairing.
Elephant-Dog
Cat-Fish
Monkey-Frog
Dog-Elephant, Fish-Cat, Frog-Monkey... (1 Reply)
Discussion started by: sammy777888
1 Replies
2. UNIX for Beginners Questions & Answers
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
3. UNIX for Beginners Questions & Answers
Hello,
I need to split a file by number of records and rename each split file with actual filename pre-pended with 3 digit split number.
What I have tried is the below command with 2 digit numeric value
split -l 3 -d abc.txt F (# Will Produce split Files as F00 F01 F02)
How to produce... (19 Replies)
Discussion started by: techedipro
19 Replies
4. Shell Programming and Scripting
Hello,
Need to split files into n number of files and rename the files
Example:
Input:
transaction.txt.1aa
transaction.txt.1ab
......
Output:
transaction.txt.1
transaction.txt.2
transaction.txt.3 (3 Replies)
Discussion started by: krux_rap
3 Replies
5. Shell Programming and Scripting
Hi ,
I have 100 records in a.txt file
Need to split the a.txt file in to 5 files
1ST File:
ex: My file name should be a1.txt - line count in file should be 1 to 15
2ND File:
ex: My file name should be a2.txt - line count in file should be 16 to 40
3ND File:
ex: My file name... (1 Reply)
Discussion started by: satish1222
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Gurus,
I have 100 tab-delimited text files each with 21 columns. I want to extract only 2nd and 5th column from each text file. However, the values in both 2bd and 5th column contain duplicate values but the combination of these values in a row are not duplicate. I want to extract only those... (3 Replies)
Discussion started by: Unilearn
3 Replies
7. Shell Programming and Scripting
Hello to all,
I am very new in the shell scripting and I need help. I have data for several individuals in several rows followed by a tag and by 5 values per row, with the name of the individual in the first column, e.g.:
IND1 H1 12 13 12 15 14
IND2 H2 12 12 15 14 14
IND3 H1 12 15... (2 Replies)
Discussion started by: Bemar
2 Replies
8. Shell Programming and Scripting
Hi Everyone,
file.txt
+++
a
b
c
+++
d
+++
asdf fefe
fff
Would like to have the output:
file1.txt (22 Replies)
Discussion started by: jimmy_y
22 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I want to know how to split a gz file ( with out uncompressing it )
Eg:- split -b 10m file.gz (2 Replies)
Discussion started by: daptal
2 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone,
I have some large text files that I need to split into a specific number of files of equal size. As far as I know (and I don't really know that much :)) the split command only lets you specify the number of lines or bytes. The files are all of a different size, so the number of... (4 Replies)
Discussion started by: Migrainegirl
4 Replies