Click to See Complete Forum and Search --> : Files with .sh extension
Corey Vaillancourt
05-01-2001, 06:00 PM
I just downloaded the Quake 3 test. At the end of the file there are the extensions as follows .gz.sh. I have used gunzip before but i have no idea about this .sh extension. Can any body help me?
Also I need help activating the following extensions .exe and .bin
Antho
05-01-2001, 06:06 PM
.sh extensions usually denote a shellscript.
plasmid
05-01-2001, 06:34 PM
just keep in mind that there are no hard and fast rules about extensions in linux/unix. there are certainly conventions, such as .tar.gz is used for a gzipped tar archive, but the tar program will unzip the file all the same without that extension added.
Antho
05-01-2001, 06:38 PM
You might try the file command,i.e.;
file foo.gz.sh
and see what it returns. Run man file for more info.
sans-hubris
05-01-2001, 06:56 PM
do this: sh filename.sh
or even:
chmod 755 filename.sh
./filename.sh
with the second one, you would then be able to execute the file from that point on by just typing ./filename.sh
.exe and .bin are NOT executables under Unix/Linux. Executables often don't have extensions to them under Unix/Linux.