a script is a text file whose first line identifies the intepreter, e.g. "#!/bin/bash" or "#!/bin/perl", where the magic part is the #!, and is then set executable, so when you "ls -la" it will look like this
-rwxr-xr-x ......
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152392\"][{POST_SNAPBACK}][/a][/div]
Speculatrix,
I created a simple text file using TextEdit:
#! /bin/bash
cd /
/etc/rc.d/init.d/samba start
Thens saved it under Documents/MyScripts/sambaup.txt
Renamed the file deleting the .txt extension.
Opened terminal and cd to Documents/MyScripts, then ls -la
It shows sambaup as
-rw-r--r-- .... so, no "x" (executable?)...
Is there any additional step to make the script executable so that I can run it in terminal and later assign it to a icon?
Sorry but I'm having a hard time with Linux