making a script in ubuntu

Asked by princen

how do i Make a script that can say something on the lines of "hello, world." and Give it appropriate permissions so it can be run.?.After it has been done, how do i Test the script.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#1

Read this:

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://tldp.org/LDP/abs/html/

Quick help: Just write your script in file, make it executable and then run it via terminal using "./file" (without quotation marks).

Revision history for this message
princen (spurchampion) said :
#2

Thanks Vojtěch Trefný, that solved my question.