The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-22-2005
Simerian Simerian is offline
Registered User
 

Join Date: Oct 2003
Location: United Kingdom
Posts: 37
yeah..., that is the continuation marker.

You can type:

if [[ -f filename]] then [ENTER]
echo "File exists" [ENTER]
else [ENTER]
echo "File does NOT exist" [ENTER]
endif [ENTER]

...and it should respond accordingly
Reply With Quote