Mini Shell

Direktori : /proc/self/root/opt/sharedrads/
Upload File :
Current File : //proc/self/root/opt/sharedrads/reclaim_suspensions

#!/bin/bash
pushd /var/cpanel/suspended >/dev/null
clear
echo
echo -e "USERNAME \t SUSPENSION DATE \t   ACCOUNT SIZE \t     REASON "
echo "--------------------------------------------------------------------------------------------------------------"
for i in * ; do
    echo -en "$i \t suspended @ `ls -la $i | awk '{print $6,$7}'` \t"
    echo -n ' '
    echo -n "   size: ` du -sh /home/$i | awk '{print $1}'` "
    echo  -ne "\t `cat $i` "
    echo
done
popd >/dev/null
echo

Zerion Mini Shell 1.0