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

1 Expert Approved Answer
Step: 1 Unlock

You can use the last command along with grep and awk to achie... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!