posted 11 years ago
a shell script is a list of commands you would enter on the command line.
Do you know the command to do what you want (forget about a shell script)?
assuming you have that, it can be as simple as editing a file, pasting in the command, and saving it. You may have to change the permissions, you may need to put in a shebang...but a lot of that depends on what OS you are using (and the specific flavor).
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors