DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
.sh script: check if file exist
#!/bin/bash if [ -e x.txt ] then echo "ok" else echo "nok" fi
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#file
#exist
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit