if you were root it would say root@localhost somefolder
. To get into root, you must type this:
Of course, it will ask you for the password, which you MUST have in order to continue. Then your script will work correctly.
And don't feel ashamed about being a "newbie" - I'm one myself
Besides, you've come to the right place. This forum is in my opinion the
best for linux questions (thus its name