~/public_html> ls -tAF | grep '/$' | head -1 include/ ~/public_html>
~> ls -tAF | grep -v '/$' | head -1
ls -tr |tail -1 |awk '{print $NF}'
find . -type d -prune -exec ls -rt {} \; |tail -1
find . -type d -maxdepth 1 -exec ls -rt {}\;|tail -1
Comment