Thanks..served my purpose.
Hi, I have 10 .txt files. Each of them have one column with variable lines. For example, file 1 has 92, file 2 has 103 lines. The content of one file is as below.
Aca10
AcrIC6
AcrIC7
AcrIE1
AcrIE3
AcrIE9
AcrIF1
AcrIF12
AcrIF16
AcrIF17.1
How to join 10 .txt files together to make a file with 10 row in shell? I tried conventional "join" command but didn't work for the files.
Cheers
1 answer
so you want a new file with the content of each of the 10 input files on a row in the new file?
whether you want it in rows or columns, you should look into what the linux command paste can do for you
If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they work. This will help future users that might find this post find the right answer.

Don't forget to follow up on your previous threads - You have multiple people waiting for your input.
- How to add file name after > in a multi-fasta file?
- Download pfam sequence
- getting information from NCBI genebank files
- How to extract a particular region from a nucleotide contig?
- Retrieving organism name
- How to Deduplicate files
- How to fetch sequences from Proteinortho5 output containing all test species and no duplication in each genome
- Counting base and nucleotide frequency of multifasta file
- Install CRISPRCasFinder under Ubuntu without having administrator rights
- How to retrieve information on bacterial source from NCBI?
- How to change the path so that screen can take the default python path?
- ...
Please go through https://www.biostars.org/t/myposts/ and ensure all questions you asked that have answers either have accepted answers or your feedback stating why those answers are not sufficient. In the future, remember to follow up on your posts - it is bad etiquette to disappear once you get an answer.
Log in to answer this question.