Search Results

Search: Posts Made By: MYP4
7,550
Posted By MYP4
do something based on the presence of a file
if [ -f myfile ]
then
echo "My file exists"
fi

( won't work in the C shell )
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy