I was wondering if somebody can point me in the right direction? I have a requirement to remove all the files in a given directory except for the one that has been created last. In ksh, to find this file I would not remove I would do a ls -ltr tail -1. Can somebody provide me with a function that can