The solution is:-
echo "Give the login name of the user"
read name
for person in who | cut -c1-8
do
if test $name=$person
then
echo "$name is logged into the system"
exit 0
fi
done
echo "$name is not logged into the system"
--------------------------------------------------------
Human do error, please email:- webmaster@piyadas-world.com if you find any. Please visit http://www.piyadas-world.com for more resource.
0 comments
Post a Comment