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
> %%%%%%%%%%%%%%%%%%

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/



-
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