#!/bin/sh if [ "`whoami`" = "root" ]; then echo "あんたはエラい!" else echo "フーン" fi
#!/bin/sh if [ "`getent passwd $1`" = "" ]; then echo "$1: Not exists." else echo "$1: Already exists." fi