Sou novo em scripts, até agora criei isto:
#!/bin/sh
(
echo List of users in PRD
echo $(date)
cat /etc/passwd | awk -F: '{print $1,$3,$5}' | sort | \
while read username uid gecos
do
echo "${username}:${uid}:${gecos}"
done
) > 'hostname...
24.04.2015 / 05:08