On Tue, 19 Oct 2004 13:38:31 +0800, Adrian <[EMAIL PROTECTED]> wrote: > guys i'm neophyte in linux. i just wanna ask how to make a linux script? and > do you know some website that teach how to make a linux script?
You might wanna move this to the ph-linux-newbie mailing list, but here's my (short) answer anyway. (I'm assuming you want to create a bash script.) Create a text file (such as by running "vi filename") and make the first line "#!/bin/bash". The following lines would contain the commands that you want to run. Then make it executable by running "chmod +x filename" and run the script by running "./filename". Learn more about bash scripting by checking bash's man page. Run "man bash". If you're a total linux newbie, the Rute book is a good starting point. It's located here: http://www.icon.co.za/~psheer/book/index.html.gz Good luck! -bodgie -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
