find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-executable; charset=binary'" \; -print
delete Linux binary files
find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-executable; charset=binary'" \; -print | xargs rm -f
find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-mach-binary; charset=binary'" \; -print
find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-mach-binary; charset=binary'" \; -print | xargs rm -f
find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-dosexec; charset=binary'" \; -print
delete windows executables
find . -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-dosexec; charset=binary'" \; -print | xargs rm -f
for f in $(find ./ -name '*.log' -or -name '*.doc'); do rm $f; done
sudo lsof -i -P -n | grep some
VBoxManage modifyhd /path/to/your/virtualdisk.vdi --resize SIZE_IN_MB
(if expand vdi in virtualbox)
apt install parted
lsblk
parted /dev/sda resizepart 1 100%
resize2fs /dev/sda1
(resize2fs for ext4, xfs_growfs for XFS)
reboot