Difference between revisions of "GETGRNAM()"

From Lianjapedia
Jump to: navigation, search
(Purpose)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to get group name
+
Function to get Linux group name
  
 
==Syntax==
 
==Syntax==

Revision as of 12:14, 17 December 2021

Purpose

Function to get Linux group name

Syntax

GETGRNAM()

See Also

ACCESS(), GETENV(), GETGID(), GETPID(), GETUID(), PUTENV()

Description

The GETGRNAM() function returns the group name of the current user.

Example

use accounts
@2,3 get name
@3,3 get rates;
  when getgrnam() = "lianja"
read