The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Csh to check for existence of file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Csh to check for existence of file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
12-04-2007
robsonde
Registered User
Join Date: Dec 2007
Posts: 51
if [ -f *myfile ]
then
do stuff
else
do other stuff
fi
robsonde
View Public Profile
Find all posts by robsonde