Answer the question
In order to leave comments, you need to log in
echo result or 0?
This is how I get the file size: du -b file | cut-f1. But if the file suddenly does not exist, then nothing is returned to me, but I want it to return 0. How can I do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question