Question: By using last command without an option, the login time period is displayed as follow: $ last | grep Oct 20 | head -2 cfs264fa

By using last command without an option, the login time period is displayed as follow:

$ last | grep "Oct 20" | head -2

cfs264fa pts/3 c-68-46-14-229.h Tue Oct 20 23:24 - 23:47 (00:22)

cfs264fa pts/0 c-68-46-14-229.h Tue Oct 20 22:51 - 23:24 (00:33)

Please find a proper option, using man last, so that the full login date/time information can be displayed as

follow:

$ last __________ | grep "Oct 20" | head -2

cfs264fa pts/3 c-68-46-14-229.h Tue Oct 20 23:24:36 2015 - Tue Oct 20 23:47:28 2015 (00:22)

cfs264fa pts/0 c-68-46-14-229.h Tue Oct 20 22:51:11 2015 - Tue Oct 20 23:24:38 2015 (00:33)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!