Linux Check Current Umask

grep '^[^#]' /etc/login.defs | grep UMASK

# output
UMASK           022
CertainBadProgrammer