#!/bin/bash
N=$1
[ -z "$N" ] && N=10

ls -lt | head -n $N

