QuestionQ29

VerifiedSetup

Which command adds a new service, myservice, so that it starts automatically at boot time at a specified runlevel by using the /etc/inittab file in AIX?

Explanation

The AIX mkitab command adds an /etc/inittab record using the Identifier:RunLevel:Action:Command format. The record myservice:2:once:/usr/bin/myservice therefore adds myservice for run level 2 with a one-time startup action. chitab changes an existing record rather than adding one.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!