Yanfeng's life and thought
Saturday, February 9, 2019
Find the latest modified file
Find the latest modified file:
/var/splunked $ find . -name "*MDB.log" -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" "|xargs ls -ltr
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment