I want to know how to make a program that you can edit and run. The problem is I don't know what the file extension is, like how you can make a text document on windows and save as filename.bat.
Asked
Active
Viewed 223 times
0
echo -e '#!/bin/bash\necho this is a script' > script.sh; chmod +x script.sh
? Then run it./script.sh
? – Xen2050 Apr 16 '17 at 05:51