Search Results

Search: Posts Made By: Corona688
1,029
Posted By Corona688
if [ -e "file.txt" ] then echo "file...
if [ -e "file.txt" ]
then
echo "file exists"
else
echo "file does not exist"
fi See man test.
Showing results 1 to 1 of 1

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