#!/bin/bash if getent group "wheel" | grep -qw "$(whoami)"; then echo true else echo false fi;