Perl Programming/Keywords/getpwnam

Previous: getpwent Keywords Next: getpwuid

The getpwnam keyword

edit

The getpwnam function gets the next passwd record given the users login NAME.

Syntax

edit
  getpwnam NAME

Examples

edit
  getpwnam "Alexis";
Previous: getpwent Keywords Next: getpwuid