#!/bin/bash # List system accounts echo "System accounts:" cut -d: -f1 /etc/passwd | grep -E '^[^[:lower:]]' # List user accounts echo "User accounts:" cut -d: -f1 /etc/passwd | grep -E '^[[:lower:]]'