Working on a backup and restore script I often need only to know what the latest backup/archive file is, this command helps you learn that.
ls -ltr | tail -1 |cut -d' ' -f10
Working on a backup and restore script I often need only to know what the latest backup/archive file is, this command helps you learn that.
ls -ltr | tail -1 |cut -d' ' -f10