Home » » Shell Scripting Tutorial For Beginners Seven - How To Append Output To The E...

Shell Scripting Tutorial For Beginners Seven - How To Append Output To The E...



#! /bin/bash  echo -e "Enter the advert of the file : \c" read file_name  if [ -f $file_name ] then       if [ -w $file_name ]       then          echo "Type merely about text data. To quit press ctrl+d."          truthful cat >>  $file_name       else           echo "The file create non accept write permissions"       fi  else      echo "$file_name non exists" fi 

0 comments:

Post a Comment

Search

Blog Archive