Following my professors exact instructions, I am trying to create a variable named EGG that contains 100 'A's by running this command from my Kali VM:
root@kali:~# EGG='perl -e "print 'A'x100"'
root@kali:~# echo $EGG
perl -e "print Ax100"
You need to use back ticks in the shell to capture a command's output.
# EGG=`perl -e "print 'A'x100"`