PDA

View Full Version : How to run .sh file



ar3s
25-02-2004, 05:26 AM
I downloaded a .sh script file that will change the name of files from upper to lower case. I am still new to Redhat 7.2, how do I run the script?

asylu3
25-02-2004, 05:26 AM
just do:
sh name-of-script.sh

or if the script has executable permissions,
do:

./name-of-script.sh

from the directory where the script resides.