Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Check is file exist shell

FILE=/etc/resolv.conf
if [ -f "$FILE" ]; then
    echo "$FILE exists."
fi
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #Check #file #exist #shell
ADD COMMENT
Topic
Name
9+6 =