The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
File is not empty?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
File is not empty?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
04-05-2002
lesstjm
Registered User
Join Date: Nov 2001
Posts: 59
File is not empty?
How do I check to make sure a file is not zero bytes?
Something like:
if [ !-z $filename ]
then
?????
Remove advertisements
The UNIX and Linux Forums
!!
Forum Sponsor
lesstjm
View Public Profile
Find all posts by lesstjm