who |cut -d”” -f1 | sort -u
who | tail -1
cat /etc/passwd | cut -d : -f7 | uniq -c |sort -n |tail -1
cat /etc/passwd | sort -t : -k 3 -n | tail -10 | tr ‘a-z’ ‘A-Z’ > /tmp/maxusers.txt
ifconfig | grep inet|cut -d “ ” -f10 |head -1
ls /etc/*.conf | tr ‘a-z’ ‘A-Z’ > /tmp/etc.conf
ls /var |wc -l
cat /etc/group | sort -t : -k 3| head -10| cut -d : -f1
cat /etc/fstab /etc/issue > /tmp/etc.test
groupadd -g 2016 distro
useradd -u 1005 -g distro mandriva
useradd -u 1100 -d /home/linux mageia
echo mageedu | passwd -stdin mageia
userdel mandriva
useradd -u 2002 -g distro -G peguin slackware
usermod -s /bin/tcsh slackware