elpis13
IS-IT--Management
- Dec 12, 2005
- 7
Hello,
i have to check on my script, if the file Test empty is. How can i do that?
Thank you!
i have to check on my script, if the file Test empty is. How can i do that?
Thank you!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
man test said:! EXPRESSION
EXPRESSION is false
-s FILE
FILE exists and has a size greater than zero
[ ! -s .xsession ] && echo file is empty