Hint: use the w command, the pipe | command, and the grep command to test if I am logged into the system

gmpunga

New Member
Joined
Oct 28, 2021
Messages
1
Reaction score
0
Credits
11
Hi Guys Please can someone help me with this I try to do it, but still not working.

w -o | grep this command does not work
 


After grep you have to enter a pattern you are searching for, so like this.
Code:
w -o | grep PATTERN
Replacing pattern which what you are searching for in the output of the first command.
 
This looks a lot like a homework connection. To add to the above, you may be interested in the 'whoami' command.
 

Members online


Latest posts

Top