Quote:
|
Originally Posted by darksoul
if [ -e "file.txt" ]; then
echo "Wow its there";
fi
|
thanks.
now I'm going to use the "ls" command anyway for something else.
is there a way to suppress the error message: "No such file or directory"
if there really is no such file or directory ?