Search Results

Search: Posts Made By: pbhound
9,357
Posted By m1xram
egrep -q "^$username:" /etc/passwd if [ $? -eq...
egrep -q "^$username:" /etc/passwd
if [ $? -eq 0 ]; then
echo "found"
fi
I don't understand your question about the carat character. '^' can be inserted like any other character. In VI you...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy