The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-05-2002
lesstjm lesstjm is offline
Registered User
 

Join Date: Nov 2001
Posts: 59
Question File is not empty?

How do I check to make sure a file is not zero bytes?

Something like:

if [ !-z $filename ]
then


?????
Reply With Quote
Remove advertisements
!!
!! Forum Sponsor