1838249 Members
3800 Online
110125 Solutions
New Discussion

inittab

 
SOLVED
Go to solution
gigiz
Valued Contributor

inittab

Hallo ,
i need to add a entry in the inittab .

what is the command for reload (refresh) the modified inittab and applied it?

Thanks a lot
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: inittab

Use "init q"

regards,
ivan
Rasheed Tamton
Honored Contributor
Solution

Re: inittab

Hello,

man 1m init

For an instantaneous response, the
init Q
or
init q
command can wake init to re-examine the inittab file.

Regards,
Rasheed Tamton.
A. Clay Stephenson
Acclaimed Contributor

Re: inittab

Indeed, the answer is "init q" but are you sure that you have asked the right question? You might find that it is more appropriate to create an rc'ed command than it is to put a command in inittab. It's one of those, "it depends" situations. Of course, if you are inserting a getty or similar command then inittab is certainly appropriate but if you are needing to run a command automatically on bootup then rc is almost always more appropriate.
If it ain't broke, I can fix that.
gigiz
Valued Contributor

Re: inittab

thanks