DEV: Challenge Accepted ’23 – Task 3

What is the purpose of this script?

#!/bin/bash
read -p "Enter the name of the directory to search: " DIRNAME


ls -lSh "$DIRNAME" | head -n 5


echo "Done!"