Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- clear
- echo "Please enter username!: "
- read USRNAME.
- a=`grep $USRNAME /etc/passwd | wc -l`
- if [ $a -gt 0 ]
- then
- echo "found"
- else
- echo "not found"
- fi
- echo press key
- read q
Advertisement
Add Comment
Please, Sign In to add comment