lsitab Command
Purpose
Lists records in the /etc/inittab file.
Syntax
lsitab { -a | Identifier }
Description
The lsitab command displays a record in the /etc/inittab file. You can display all of the records in the /etc/inittab file, or use the Identifier parameter to display a specific record. The Identifier parameter is a 14-character field that uniquely identifies an object.
Flags
Item | Description |
---|---|
-a | Specifies that all records in the /etc/inittab file are listed. |
Security
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged
operations. For more information about authorizations and privileges, see Privileged Command
Database in Security. For a list of privileges and the
authorizations associated with this command, see the lssecattr command or the
getcmdattr subcommand.
Examples
- To display the record
for tty2, enter:
The output is similar to: tty002:2:respawn:/usr/sbin/getty /dev/tty2lsitab "tty002"
- To display all of the
records in the /etc/inittab file, enter:
All of the records in the /etc/inittab file are displayed.lsitab -a
Files
Item | Description |
---|---|
/etc/inittab | Indicates which processes the init command starts. |