PI-DATA(8)

NAME
pi-data - query Raspberry Pi device information

SYNOPSIS
pi-data COMMAND

DESCRIPTION
The pi-data utility reports basic Raspberry Pi configuration data via subcommands.

COMMANDS

model
    Print the board revision code.

serial
    Print the board serial number.

config_txt
    Output the path to the active config.txt file.

password
    Report whether the default "pi" account password is unchanged.

hostname
    Print the current hostname.

default-gateway
    Print the default IPv4 gateway.

EXIT STATUS
Returns zero on success, non-zero on error.

AUTHOR
Ed Baker <ed@ebaker.me.uk>

LICENSE
GNU General Public License version 3 or later.