#!/bin/sh
echo "Please enter the name of a user:"
read USER
who|grep $USER > /tmp/usertest &
sleep 5
if [ -s /tmp/usertest ]
then echo "User is logged in"
else echo "User is not logged in"
fi
rm /tmp/usertest
C programm
dim a input a
write a c program to accept a number and generate a square root cube and exponential values
you cant
write a c++program by using if statement to read a number and check whether it is positive or negative
happy birthday...
Write a program to accept name and store the name in its short form (e.g. Sikkim Manipal University should be stored as SMU)
(ab)*b
To write a C program to determine if something is odd or even you need to be a programmer. To write a program in C is complicate and only done by programmers.
The 'users' command should do that; you don't need to write a shell script to get that information in that format.
You can write a simple letter stating why you don't have proof of employment. It will be up to the company whether they accept your letter or not.
Same with other Visual Basic program, programming in FoxPro will require you to have the right syntax.