why this error is occuring what's wrong in my script??

view full story

http://ubuntuforums.org – here is the screen shot of both the script and output i don't get it?? can you tell me and the directories mentioned in the script are exist in my system?? the script is Code: #!/bin/bash #Only Sudo can run the script ROOT_UID=0 #Since Only users with $UID 0 have root privileges E_NOTROOT=87 #Non-root Exit Error if [ "$UID" -ne "$ROOT_UID" ]; then echo "You Must be root to run this script" exit $E_NOTROOT fi echo "Enter your Username" read uname if grep -q "^$uname:" /etc/passwd; then cd /home/$uname/projects echo "the files in th (Hardware)