RandomUsefulStuff/shellutils/groups

3 lines
66 B
Bash
Executable File

#!/bin/sh
echo $(cat /etc/group | grep $USER | sed -e 's/:.*$//')