I have been searching how to do this but I can't seem to find how to do it. Hopefully someone can help.
I have multiplr files, 100's example 12345-zxys.213423.zyz.txt. I want to be able to take all these files and remove the first '12345-' from each of the files. '12345-' these characters are uniqe on each file but of the same length.
Yes thats worked exactly as I wanted. so I replaced ls file* with ls *.txt. For benefit of many who have not used sed command and learning. can you please break the command down?