Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
W.A.S.S to check whether user has logged in or not.
Program
# W.A.S.S to check whether user has logged in or not.
echo "Enter the user name:"
read usr
flag=0
for w in ` who | tr -s " " | cut -d " " -f1`
do
if test $usr = $w
then
echo "User is logged in.."
flag=1
fi
done
if test $flag = 0
echo "User is Not logged in.."
Output:
Enter the user name:
root
User is logged in..
narenda
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Explain the Continue statement - Computer Programming? This is alike to break but is encountered less frequently. It merely works within loops where its effect is to force an imm
basic steps involved in spreadsheet developement
Shell scripting linux
Companies divide their subtasks of game's development. For large complex games, the development team can vary in size from 20 to 100 or more members. The most represented are artis
how to store multidimensional array in a single column in mysql database using MATLAB?
What is JVM-Java Virtual Machine A JVM stands for java virtual machine. This is virtual computer or an abstract computer that runs the complied java programs. In fact JVM is
Silver light uses WPF to provide included web handles Microsoft Technologies Silverlight uses WPF to provide included web handles similar to Adobe Display, but with more focus on a
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd