display all groups unix code example
Example 1: list des group linux
cat /etc/passwd | awk -F: '{print $ 1}'
Example 2: list des group linux
cat /etc/group | awk -F: '{print $ 1}'
cat /etc/passwd | awk -F: '{print $ 1}'
cat /etc/group | awk -F: '{print $ 1}'