=========================
Resore pkg

cat /root/finallist | awk -F. ‘{print $1}’ > /root/list0
for i in `cat /root/list0`;do /scripts/restorepkg $i;done
=========================

to copy the dailybackups for a list of  users to a user home from server backup

#!/bin/bash
for i in `cat /root/thewebcousers`; do
cp -rp /backup/cpbackup/daily/$i.tar.gz /home/thewebco
chown thewebco.thewebco /home/thewebco/$i.tar.gz
done

=========================

#!/bin/bash
for i in `cat /root/a2z`; do
grep -rl c99shell /home/$i*/public_html/* >> /root/c99list
grep -rl r57shell /home/$i*/public_html/* >>  /root/r57list
done

=======================

 for i in `ps aux |  grep /usr/local/apache/bin/httpd | sort -rn +2 -3 | awk ‘{print $2}’`; do ll /proc/$i | grep -E ‘/home/’; done

========================

cat /etc/trueuserdomains | awk -F: ‘{print $2}’ | sed ‘s/ //g’ > /root/tt
for i in `cat /root/tt`;do
/scripts/runweblogs $i;
done

========================