N newmedia Registered Feb 26, 2002 #1 I need to change a Textfile to an executable Shell-Skript to use this by Double-Click in the Finder-Environment. What is to do??? Bye from Germany
I need to change a Textfile to an executable Shell-Skript to use this by Double-Click in the Finder-Environment. What is to do??? Bye from Germany
gumse Member Feb 26, 2002 #2 1) First row of file: #!/bin/sh 2) Make it executable: chmod +x filename 3) Rename it filename.command 4) Remember to save the file as a pure textfile with Unix line breaks.
1) First row of file: #!/bin/sh 2) Make it executable: chmod +x filename 3) Rename it filename.command 4) Remember to save the file as a pure textfile with Unix line breaks.