Skip to main content
kugarocks
View All
Search
Shelves
Books
Editor
|
Dark Mode
Log in
Nav
Info
Content
Snippets
Check File Exists
Page Revisions
Revision #562
Check File Exists
FILE="/etc/iptables/rules.v4" if [ -f "$FILE" ]; then echo "$FILE exists" else echo "$FILE empty" fi
Back to top