Hi all,
I am new in shell scripting and I would like to make a bash script which will inform me if one of my friend is already logeed in. If a friend is logged in I want to take as output
USER1 : is in.
else USER1 : last time he/she logged in was "date"
I have to notice that the names of my friends are written in a file for example 1.txt. The 1.txt file is like that :
USER1
USER2
USER3
...
COULD ANYONE HELP ME ???
Thanks a lot!!!!!