Shell Script Help -I'm a newbie

Can someone help me write this shell script?
I am completely new to shell and as a fun task my uncle has challenged me a problem (out of all other people). Basically, all he wants me to do is to create backup file in a folder that is named �disables.�
This is what he said: create a shell script to backup all �profiles� with are disabled (or inactive) before you start deleting those files.

Here is what he provided me with, I am supposed to use/ manipulate his previously used script so it works for me and what I need to get done. From what I understand he wants me to find certain profiles that are �disabled� and put them into a txt file: disabled.txt but I have no clue how to code this...I've never used Shell in my life =(

home1:t13hal2/backups # wlsmon -s $h > $h.sh
home1:t13hal2/backups # cd ..
home1:t13hal2 # ls
.profile*             MonitorTypes.sh*      cmdfile.sh            inputFile.txt
.sh_history           all_dm_profiles.txt   disabled.sh*          logfile
.vi_history           backups/              disabled.txt

home:t13hal2 # cat disabled.sh
#!/bin/sh

wlookup -Lar SentryProfile |grep -v @ > all_profiles.txt

while read h;do 
discount=`wlsmon $h |grep -c disabled` 
if [ $discount -gt 0 ];then 
echo "PROFILE:$h    COUNT:$discount" 
fi 

done < all_profiles.txt 

ANY HELP WILL BE APPRECIATED...THANKS IN ADVANCE