list newest file in directory linux code example Example: select latest file linux ls -Art | tail -n 1