-1

It looks like "nam" means "item" or "entry" in the context of getpwnam or getspnam. What exactly does it stand for?

Jay
  • 998
  • 2
  • 15
  • 24
  • Check the man pages: [`getspnam(3)`](https://linux.die.net/man/3/getspnam), [`getpwnam(3)`](https://linux.die.net/man/3/getpwnam), etc. You will find their are several overloads by name, including `getpwuid`. – jww Jun 01 '18 at 22:11

1 Answers1

3

It means "by name".

E.g. getpwnam -> get passwd entry by name. Contrast to getpwuid -> get passwd entry by uid.

janneb
  • 36,249
  • 2
  • 81
  • 97