$EGID
–
Effective Group ID
$EGID contains the effective group ID of the shell process.
With the sufficient permissions, a change to this variable will change the effective group ID of the shell process.
Use a subshell to launch a command with a different effective group ID: (EGID=0; command).
Links
Examples
- Change effective group ID of the shell process to 0 without sufficient permissions
- Output:
1EGID=01zsh: failed to change effective group ID: permission denied
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $EGID - probieren Sie es jetzt aus!