fpath="/etc/passwd"

if [ -e $fpath ]; then


 echo Plik istnieje;
 

else


 echo Plik nie istnieje;
 
fi
