Techno World Inc - The Best Technical Encyclopedia Online!
THE TECHNO CLUB [ TECHNOWORLDINC.COM ] => Shell Script => Topic started by: Mark David on March 16, 2007, 01:37:13 PM
Title:
Determine if file exists in a Bourne/bash shell script
Post by:
Mark David
on
March 16, 2007, 01:37:13 PM
Determine if file exists in a Bourne/bash shell script
Code:
if [ -f testfile ]
then
echo testfile exists!
fi
Powered by SMF 1.1.4
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks