RESOLVED:Hello World, (embarrased)
Posted: Mon Dec 19, 2011 8:12 pm
Ok, maybe this should be in the "Newbie Questions",.. it is embarassing, because it is perhaps the most simple and basic "script" used in most tutorials,..however for some reason, I can not get it to work,...and I have tried many variations, all though in the tutorial I am reading it is straight forward and quite clear,..so I am thinking maybe there is something wrong, on my end,..This is the tutorial I am useing :
I have been going in circles, on this, I did modify the premissions, ( I think) when I saved the file, but it still dose not display the Hello World , like it should, just a "window" appears, very briefly, but blank, dose not display anything,
This is the full path , where I have made the file and am "working" or experimenting:
I used the "right click" on the mouse and file, for properties, and set the permissions as executable, or dose this also have to be in the script itself ?, or done from the command line, seperately ?,..
Ok, I know this may seem redicules, to some people,..probabley some of the more intelligent youngsters,even a 3rd or 4th grade student, may be able to "grasp" these things, quickly and easy, I am kind of "slow", at many things,and some times it is a struggle,..That would be a whole other subject,..so I won't go into details, if anyone is willing to, and can explain, a little more, that will be appreciated,..if someone just wants to "insult" me, ...I don't know in english, but in spanish, "ni modo",..I guess "no matter" or "don't care", I am used to that,..being called stupid,...or "stupid idiot!",..in fact back when I was a truck driver, that was my CB handle,..."Stupid Donkey",..cause I am also slow and stubborn,...
any way thanks, from Garry
The Linux® Command Line
William E. Shotts, Jr.
Code: Select all
#!/bin/bash
# This is our first script.
echo 'Hello World!'
This is the full path , where I have made the file and am "working" or experimenting:
hello_world being the file name,/home/garry/playground/hello_world
I used the "right click" on the mouse and file, for properties, and set the permissions as executable, or dose this also have to be in the script itself ?, or done from the command line, seperately ?,..
Ok, I know this may seem redicules, to some people,..probabley some of the more intelligent youngsters,even a 3rd or 4th grade student, may be able to "grasp" these things, quickly and easy, I am kind of "slow", at many things,and some times it is a struggle,..That would be a whole other subject,..so I won't go into details, if anyone is willing to, and can explain, a little more, that will be appreciated,..if someone just wants to "insult" me, ...I don't know in english, but in spanish, "ni modo",..I guess "no matter" or "don't care", I am used to that,..being called stupid,...or "stupid idiot!",..in fact back when I was a truck driver, that was my CB handle,..."Stupid Donkey",..cause I am also slow and stubborn,...
any way thanks, from Garry