change file format
I'm try to get Popfile 19.1 to load on start up.
Popfile works fine, I understand where to put the shell script in init.d and rc0.d etc and number it accordingly, and I have the script required saved as a plain text file. How do I change a plain text file to a shell script, ie how do you change a file type/format? I am fairly new to Linux, maybe my windows knowledge is causing a brain fart, and I'm sure this is probably a very easything to do, but I CAN'T figure it out, so be gentle on me! Greg |
chmod +x shellscriptfilename
|
PS: linux does not care about file extensions.
If you want a file to execute by just typing it's name add this line to the very top of the file: Code:
#!/bin/bash |
All times are GMT -5. The time now is 06:47 PM. |