Just create a plain text file in your favorite text editor (kate, kedit,
gedit,vi etc). Enter commands one after the other.

Example

command1
command2
command3

or

command1 && command2 && command3

or

command1 command2 command3

save it as preferably with extension .sh. To run all the set of commands
you would just

sh script.sh or ./script.sh

To run the script automatically after each boot enter

sh /path/to/script.sh

in /etc/rc.local

Google bash scripting

cheers

Jigish

On Sun, 2005-08-14 at 14:48 +0530, SHADAB FARRUKH wrote:
> hello
> I m a newbie to linux and i have tried to connect
> internet......finally i succeded. but the problem is each time i login
> i have to repeate the procedure of writing command to connect
> internet. I thought of creating batch file for these command ......
> how do i do that? help me.
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> linux-india-help mailing list
> linux-india-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-india-help

Send instant messages to your online friends http://in.messenger.yahoo.com 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to