I'll add that you really should use the search function as this type of question is Biostar's 'public enemy number one'.
You're lucky it's easy and I'm sat in front of a terminal though ;)
• 1 views
•
link
And can you elaborate on what you tried and how that didn't deliver the result you had in mind?
Your fasta headers are identical, this will create problems for most downstream tools. You can do what you want with sed: