I tried the ('mv', 'sed') command's in Linux . I have more than one file I want to delete the last character of the file like this
Before
natural1_dd-aa.txt
natural2_dd-aa.txt
natural3_dd-aa.txt
I want to delete ('_dd-aa')
After
natural1.txt
natural2.txt
natural3.txt