burim:bash:udemy:file_test_example
#! /bin/bash

echo -e "Enter the name of the file : \c"
read file_name

if [ -s $file_name ]
then
  echo "$file_name not empty"
else   
  echo "$file_name empty"
fi
burim/bash/udemy/file_test_example.txt · Last modified: 2019/09/05 09:27 by burim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki