Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, first of all, let me apoligize for the small posting frenzy I have been on as of late. Its just that I am very new to linux, and I enjoy learning as much as possible and helping as many people as I can.
Now to my question . First I wanted to mount my ntfs partition to /mnt/windows. I got that all figured out by editing fstab. Then I thought about how useful it would be to run commands/scripts on whenever linux starts. So that is my question; How do I run commands on startup?
Generally, most of them will understand
a
/etc/rc.d/rc.local
to be some sort of autoexec.bat ...
Slack does. And I think some others do, too.
SuSE used to have a slighlty differently named
file (but it's about two years since I've used
SuSE so I can't recall)...
look at /etc/inittab that contains a list of definitions, and general stsrtup procedure (starts gtty(or whatever login program you use), in the file youll see a list of runlvls and teh defualt one, then look for the strtup fiels name for that runlevel further down teh file itll be /etc/rc.d/rc.(whatever) , edit that new file you jsut found to add whatever prosess you want
Originally posted by Tinkster That's a bit distro-dependend
Generally, most of them will understand
a
/etc/rc.d/rc.local
to be some sort of autoexec.bat ...
Slack does. And I think some others do, too.
SuSE used to have a slighlty differently named
file (but it's about two years since I've used
SuSE so I can't recall)...
What's your distro?
Cheers,
Tink
Anyone know of the file i would need to write a script to in order to enable 'unmask interupt" on Suse 9.0 personal???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.