new to linux/Ubuntu/shell scripting . . .
(रेवंत) Revant Nandgaonkar
revant.one at gmail.com
Sun Dec 4 09:33:22 UTC 2005
if you are using plain ubuntu out of the box Desktop, you wont get
konsole, you'll either have gnome-terminal or xterm
when you open the terminal window, type the following
$ cd Desktop
remember 'D' is in uppercase and the commands, file and directory
names are case sensitive.
now to run the script you've to change its permission to executable
you either right-click on the file and enter properties, under
permissions tab you can check the execute checkboxex
or you can type this in the terminal window, when you are in the
Desktop directory
rachael at ubuntu:~/Desktop$ chmod +x <scriptname.sh>
now to run the script you've to type the following
rachael at ubuntu:~/Desktop$ ./<scriptname.sh>
or
rachael at ubuntu:~/Desktop$ sh <scriptname.sh>
More information about the ubuntu-users
mailing list