February 2003
Intermediate to advanced
1440 pages
30h 42m
English
![]() | A useful test when performing a find operation is to locate empty files. The following example searches for all empty files and directories on the system with the -empty operator that is available on some UNIX variants, including Linux. This is only a partial output because it's so long: |
# find / -empty -print /lost+found /var/adm/LST/analyse /var/spool/lpd /var/spool/news /var/spool/uucp /var/spool/mqueue /var/spool/atjobs/.SEQ /var/spool/atspool /var/spool/cron /var/spool/fax/outgoing/locks /var/spool/fax/incoming /var/spool/voice/incoming /var/spool/voice/messages /var/spool/rwho /var/spool/uucppublic /var/lib/LST/log ...Read now
Unlock full access