I am having a directory as
Where it has text files as
How to get the latest file based on timestamp and copy the old file into another directory and remove it from present directory which means it
/var/tmp/kick and make a copy of
/var/tmp/Vgh and remove this text file from
I am using ksh shell.