search on google for advanced bash scripting guide. It's abut 400 pages
and It's REALLY GOOD. I'm reading it... it has many sample script and
everything..

El mi? 11-06-2003 a las 23:30, pa3gcu escribió:
> On Wednesday 11 June 2003 22:03, Matthew Stapleton wrote:
> > Hello,
> >
> > When I boot into linux (I have a dual boot system) the XDM is
> > automatically started.  What file or files do I need to modify in order
> > to disable this? Is there a linux equivalent to DOS's autoexec.bat?
> 
> Depends on which distor you use, in slackware you edit /etc/inittab and make 
> the default runlevel 3 as in;
> 
> id:3:initdefault:
> 
> Its around line 24 of the file.
> 
> Some other distros work the same, last time i commented on this it seemed some 
> distos do it in other ways, i am sure the users of those distros will comment 
> and help you further on your way.
> 
> Your other question is a script file with executable permissions, an example 
> would be.
> Create a file called my-first-script,
> 
> #!/bin/sh
> 
> /bin/echo "This is my first try at a script..."
> 
> /bin/date
> 
> /bin/echo "That is tdays date"
> 
> close file, change permissions;
> chmod a+x my-first-script
> Now type ./my-first-script
> 
> There is a man page for this sort of thing, 
> man bash
> 
> > Thanks,
> > Matthew Stapleton
> > %%%%%%%%%%%%%%%%%%
> > http://webpages.marshall.edu/~staple12
> > %%%%%%%%%%%%%%%%%%
-- 
Alan Bort
Linux Registered User 298277 -Country Manager- [http://counter.li.org]
[ http://www.linuxquestions.org ] Username: Ciccio
[ http://es.tldp.org ]
Ciccio.-

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to