How to save and execute terminal commands in shell?

I frequently use some commands, which I want to save in some file say

myregularshell.sh

these are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming

cd go somewhere

echo "I am here $PWD"

sudo su

source /etc/profile

sh operation.sh arguments

echo "Operation over"

find /mypath/path iname "*.abc" -delete

echo "old files deleted"

mv -i *.xyz /mypath/path 

echo "new files moved "

Is there any way to save as shell script and execute ?

Preview of execution can be done using "set", Please add this line into you script

 
set -vx

no, if I logout from root then I could see from

set -vx

, but if I logout from root I will get permission denied error