#!/bin/bash echo This is the script $0 # $1 is the directory you want to list for file in $1/*.html do echo '********' This is the contents of file `basename $file` cat < $file echo echo done