How to run scrips ?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
Nuke2000
Newbie
Posts: 1
Joined: Tue Sep 09, 2003 12:38 am

How to run scrips ?

Post by Nuke2000 »

How do i run them

http://gentoox.shallax.com/modules.php? ... link&cid=5

i made a text file with the stuff in side but how do i run it ?

ok i did a ./file name

and i think that worked
rocketeer
Pro
Posts: 75
Joined: Sun Aug 17, 2003 12:05 am

Post by rocketeer »

1. Edit the file as a text file.
2. Do "chmod a+x filename" to make it executable.
3. Execute it by just typing its relative or absolute file name (yes, ./filename if in current directory).
loki
Linux User
Posts: 19
Joined: Fri Sep 12, 2003 7:54 am
Location: Portland, Oregon USA
Contact:

Post by loki »

or you can use the command
sh <filename>
Post Reply