Hacker News new | past | comments | ask | show | jobs | submit login
Ask YC: Do anyone know a simple bash script to get the last modified file in a directory ?
1 point by laktek on May 17, 2008 | hide | past | favorite | 1 comment
Do anyone know a simple bash script to get the last modified file in a directory ?



ls -art | tail -1




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: