Home » » Shell Scripting Tutorial For Beginners Half-Dozen - File Examination Operators

Shell Scripting Tutorial For Beginners Half-Dozen - File Examination Operators



#! /bin/bash  echo -e "Enter the get upwards of the file : \c" read file_name  if [ -s $file_name ] then   echo "$file_name non empty"  else      echo "$file_name empty" fi 

0 comments:

Post a Comment

Search

Blog Archive