DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
zsh check if file exists
if
[
!
-f
/tmp/foo.txt
]
;
then
echo
"File not found!"
>
&2
exit
1
fi
PREVIOUS
NEXT
Tagged:
#zsh
#check
#file
#exists
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit