Thread
:
how to make/save a script?
View Single Post
TA-t3
2007-09-03 , 12:25
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#
5
You copy them into a file (without the '#'), and then you insert the following line as the very first line in the file (including the '#'):
#!/bin/sh
Then do chmod a+x filename (that is the name of the file you chose)
and you can execute it with ./filename (if it's in the current directory), or with /home/user/filename (or any other absolute path necessary)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
Quote & Reply
|
TA-t3
View Public Profile
Send a private message to TA-t3
Find all posts by TA-t3