Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Welcome to ask.fedora! It's rather hard to follow your script, because all of the lines are run together. Please get rid of the oversized bold at the beginning, and surround all of your script with Code tags. (The button for that is the one with the little ones and zeros.) However, one major error stands out. Your first line should look like this:

#!/bin/sh

instead of what you have. As it is, I'd be surprised if it runs at all, even if you've remembered to make it executable by changing the permissions. And, while you're at it, put a # at the beginning of every line that's intended to be a comment, to make sure that the shell doesn't try to execute them. Feel free to come back and ask more questions as needed, either about this script or about other Fedora related issues that you may have. Unlike some Linux forums, we don't mind helping out students.