12 views

Find files with exactly same file size

find ./ -type f -size 1024c -exec ls {} \;

Example searching the whole system from /

[root@askdevops ~]# find / -type f -size 1024c -exec ls {} \;
/boot/grub2/grubenv
/var/lib/systemd/random-seed
/usr/lib/grub/i386-pc/lnxboot.img
/usr/lib/grub/i386-pc/pxeboot.img
/usr/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
/usr/share/doc/dhclient-4.2.5/dhclient.conf.example
/usr/share/man/man8/scsi_readcap.8.gz
/usr/share/icons/Adwaita/22x22/status/semi-starred-rtl.png
/usr/share/icons/Adwaita/48x48/apps/utilities-terminal.png
/usr/share/cracklib/cracklib-small.hwm
/usr/share/cracklib/pw_dict.hwm
/usr/share/perl5/unicore/lib/Lb/BA.pl
....
....
Jun 20, 2018 by | 12 views
Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..