1. Save it as you want, I allways use .sh 2. Then chmod 755 <filename.sh> 4. to runit ./<filename>
Hope it helps 2009/1/25 Geraint Lee <gera...@gmail.com>: > learn to use google. > > http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_02.html > > 2009/1/25 David @ULC <ucoms2...@gmail.com> >> >> >> 1) What name I have to save it.Like what extension ? >> >> 3) How I save it ? >> >> 2) How to run it to execute it ? >> >> Should i do >> >> vi autobatch >> >> and then type and then save it ? >> >> > have to save. >> > >> > And Most importantly how to run it ? >> >> On Sun, Jan 25, 2009 at 10:04 PM, David @ULC <ucoms2...@gmail.com> wrote: >>> >>> In windows, we use BAT file to execute few series of command , which help >>> us in not writing each command manually everytime we want to execute those >>> commands. >>> In CentOS, I want to do the same thing. >>> >>> Any Advice ? >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- http://celord.blogspot.com/ _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users