I have a
Config.cfg file and I want to rename it by putting the value of 2nd line in the name of the file.
$ more Config.cfg ! ! Configuration last changed by user '%LICM%' at Tue Jul 4 15:17:04 2017 ! ! ! global synchronization option 2
Expected Result :
Config Jul 4 15:17:04 2017.cfg