#!/bin/sh -e
#
# lastmod - print the last modified file in the current directory

ls -1 -t | head -n 1

# find . -maxdepth 1 -type f -printf "%T@ %p\n" 2>/dev/null | sort -n | tail -n 1 | cut -d' ' -f2- | sed 's|^\./||'
