I need to create a check command that launches a script but passing it the user who is logged in that session.
I've been looking in the macros but I can't find any that give me this possibility.
Can you help me?
Regards,
I need to create a check command that launches a script but passing it the user who is logged in that session.
I've been looking in the macros but I can't find any that give me this possibility.
Can you help me?
Regards,
Hi
If you need the name of user connected in a term (session) you need to use Linux command such as “who” or “whoami”.
Regards
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.