$GID  –  Real Group ID

$GID contains the real group ID of the shell process.

With the sufficient permissions, a change to this variable will change the group ID of the shell process. Use a subshell to launch a command with a different group ID: (GID=0; command).

BashSupport Pro is a Zsh IDE with support for $GIDtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal