1 2 3 4 5 6
#!/bin/bash user=likegeeks if grep $user /etc/passwd then echo "The user $user Exists" fi