Queries stream configuration.
The strconf command is used to query the configuration of a stream. When used without any flags, it prints a list of all the modules in the stream as well as the topmost driver. The list is printed with one name per line, where the first name printed is the topmost module on the stream and the last item printed is the name of the driver.
Note: The strconf command only reads from standard input.
Item | Description |
---|---|
-m Module | Determines if the specified module is present on the stream.
If the module is present, the strconf command prints the message yes and
returns a value of 0. If it is not present, the strconf command
prints the message no and returns a nonzero value.
The -t and -m flags are mutually exclusive. |
-t | Prints only the topmost module of the stream (if one exists). |
Item | Description |
---|---|
Module | Specifies the module for which to look. |
ldterm
ports
strconf -m ldterm
The command
produces the following output while returning an exit status of 0:
yes