1 2 3 4 5 6 7 8
#!/bin/sh if [ -e /var/log/user/"$1" ] then rm -f /var/log/user/"$1" else echo "File does not exist" fi