[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


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


-a Specifies that all records in the /etc/inittab file are listed.

Examples

  1. To display the record for tty2, enter:

    lsitab "tty002"
    

    The output is similar to: tty002:2:respawn:/usr/sbin/getty /dev/tty2

  2. To display all of the records in the /etc/inittab file, enter:

    lsitab -a
    

    All of the records in the /etc/inittab file are displayed.

Files


/etc/inittab Indicates which processes the init command starts.

Related Information

The chitab command, init command, mkitab command, rmitab command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]