I have around 5000 .xml files in my unix directory. I want to add extension Hist to all the file names before .xml extension. For example if the file is ABCD.xml, I want to rename it to ABCDHist.xml. And I want to do this for all the 5000 files in my directory. Is there a one line command to do that?
Edit
I am doing this on a unix (aix) box and tool that I am using is attachmate reflection ssh client. Does not look like perl commands are executable there.