[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-newbie
Subject:    Re: How to check for 0 byte file in bash script
From:       ichi () ihug ! co ! nz
Date:       2002-06-25 5:03:30
[Download RAW message or body]

Phillip Morgan wrote:
> 
> How do you check if a file is 0 bytes in size in a bash script.

[ -s filename ]

Cheers,
Steven

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic