From Torrid Mockingbird, 9 Years ago, written in Plain Text.
Embed
  1. echo "This scripts checks the existence of the messages file."
  2. echo "Checking..."
  3. if [ -f /var/log/messages ]
  4.   then
  5.     echo "/var/log/messages exists."
  6. fi
  7. echo
  8. echo "...done."
  9.  
  10. anny ~> ./msgcheck.sh
  11. This scripts checks the existence of the messages file.
  12. Checking...
  13. /var/log/messages exists.
  14.  
  15. ...done.
  16.  

Replies to Untitled rss

Title Name Language When
Re: Untitled Ungracious Shama bash 9 Years ago.