Oct 27, 2005 #1 ddiamond Programmer Joined Apr 22, 2005 Messages 918 Location US In a ksh script, how would I check if a file exists?
Oct 27, 2005 #2 vgersh99 Programmer Joined Jul 27, 2000 Messages 2,146 Location US 'man test' Code: if [ -e path2file ]; then echo 'file exists' fi vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
'man test' Code: if [ -e path2file ]; then echo 'file exists' fi vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+
Oct 27, 2005 Thread starter #3 ddiamond Programmer Joined Apr 22, 2005 Messages 918 Location US Thanks. Upvote 0 Downvote