#!/bin/bash
for i in /bin/ /sbin/ /lib/ /etc/ /share/ /var/ /toolchain/bin/ /toolchain/lib/ ; do
  echo $i
  ls --color=always -lhn $i | grep -s "^-" | grep -sv "^-...------" | grep -s " 0[[:space:]]*0 " 
  ls --color=always -lh $i | grep -s "^d" | grep -s " 0[[:space:]]*0 "
  echo
done
