Question: Unix systems programming the file /var/log/wtmp contains the recent login/logout activity for all the users. As this is not an ascii file, you need to
Unix systems programming the file /var/log/wtmp contains the recent login/logout activity for all the users. As this is not an ascii file, you need to use the last command to view the contents. Your supervisor requires a list of everyone who has logged in and out again between 1000 to 1500. Write a minimal Unix command using grep to accomplish this.
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
You can use the last command along with grep and awk to achie... View full answer
Get step-by-step solutions from verified subject matter experts
