The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




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

Join Date: Jun 2005
Posts: 15
Use of IF command in the command line.

What is the command line syntax for the if exist command in Unix like in DOS/WIN which test for the existance of a file?

Is the syntax the same in a script?

Thanx