All I need to make a script in bash is the #!/bin/sh header?
I'm confused about several parts. Right now, I'm trying to get Firefox to not open up a profile screen when I click on the icon a second time. People are suggesting their scripts, but I'm not exactly sure how to utilize them. Is there a file somewhere that I need to specify that will call on the script I make?
Also, what are the differences between say "firefox" and "run-mozilla.sh" One has an extension and the other does... but they both begin with the same header and one can be executed and the other can't (or it says I don't have permission).
OK, looking at the two files more, I see that there's a line that refers to "run-mozilla.sh" in "firefox"
I know I should be reading up on books, but I'm more of a hands-on and ask questions type of guy... sorry if this is touched on somewhere and I'm just being entirely noobish
Also... how do I actually MAKE a script? It's not like "right-click, new txt document", I know... Windows has corrupted me. Can I just vi a file that doesn't exist and then save it? Like vi firefox.sh and then save if after I've written to it?