First of all, please do not crosspost your question like that. Crossposting is against the rules.
The root directory is not a great location for your script. But to run it, use the full path:
/ss1
The first line of a shell script should be something like:
#! /usr/bin/sh
or whatever shell you are using. Do you really have a line with ":wq" in your script? Or a line "name: ss1"? That would not make sense. I can't tell what lines you are claiming to have in your script.
Also, it looks as if you're doing this whilst being logged in as root as your shell is /sbin/sh
I would strongly discourage you being logged in as root uneccessarily, especially if you are new to UNIX, as a wayward moment on the command line can lead to a completely useless system.