#!/bin/bash # This script uses a number of tests to verify if the file # contains information echo -n "Please enter a filename: " read file_name if test -s "$file_name" then echo "File $file_name exists and contains information." fi