answersLogoWhite

0


Best Answer

You don't need a shell script for that; use either 'whoami' or 'id'

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a shell script to show that user is logged in or not?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Shell program to show the user name of the user who has logged-into the system?

Use the 'who', 'w', or 'users' command to find out who is logged in.


Does Miranda hart write the script for Miranda the show?

Yes


How do you write a comparing script for school sports day show the samples?

wiener


Does Miranda hart write her own script?

yes she does, she also produces and directs her own tv show


Who are the authors commented in Phineas and Ferb?

It is the same author who writes the screenplay first they make the show then write the script in the book


Can myspace show you as logged in when you are not on your computer?

Sometimes


When multiple users are logged on to the same computer does the logon window show which programs each user has open?

No. Multiuser operating systems create a shell for each user. It would be possible to see what each users was doing from a system administrator viewpoint but not form the normal logon window.


What is the script in Schoolhouse Rock Live Jr?

I don't know but you could look for the dvd in a store and then write "The script of Schoolhouse Rock live jr."and then it'll show to or maybe or i don't know. ( But you didn't hear from me?!?!?!?).


Which Nuptial Script version is the one used for the Firefly TV show font?

Nuptial script is the font of the Firefly show. This is a well known show.


What is television script called And are there different names for scripts for for example a script for a series a drama and a game show?

Every script is called a script. Regardless of the genre, the script is still called the script.


What is the script to the Victorious rex dies?

I don't think they will reveal the script of the show to the public.


When someone has an idea for a TV episode and the show's producer likes the idea and uses it to write a full script what is the normal cut for the person who originated the idea?

10,000,000$