Real home

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_real_home

Purpose

Print the home directory of the invoking or current user.

Output

Writes the passwd database home-directory field, if present.

Returns

Returns the getent/cut pipeline status; an unknown user may yield empty output.

Usage

  sgnd_real_home