DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
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
COMMENT
Name
6+5 =
Submit