Question: 5.5) Please complete the following tasks (10 points) a) Please create the following data file on the server: $ last -wi | grep ic3311 |

5.5) Please complete the following tasks (10

5.5) Please complete the following tasks (10 points) a) Please create the following data file on the server: $ last -wi | grep "ic3311" | grep "Apr 25" > loginfile4final $ cat loginfile4final ic3311 3p200220 pts/0 76.17.205.233 Sat Apr 25 22:09 - 22:11 (00:01) ic33113p2002 dm pt 3/7 174.20.179.85 Sat Apr 25 22:06 - 22:46 (00:39) ic3311 3p200230 pts/0 174.20.179.85 Sat Apr 25 21:49 - 22:07 100:17) ics311sp200225 pts/5 65.128.142.225 Sat Apr 25 20:49 - 22:45 (01:56) ics311sp200225 pts/5 65.128.142.225 Sat Apr 25 20:42 - 20:42 400:00) ics311sp200228 pts/1 138.128.33.245 Sat Apr 25 19:12 - 22:24 (03:11) ics311sp200230 pt3/0 174.20.179.85 Sat Apr 25 16:05 - 20:17 (04:11) ic33113p200230 pts/1 174.20.179.85 Sat Apr 25 14:36 - 16:05 401:28) ic33113p200230 pts/0 174.20.179.85 Sat Apr 25 02:14 - 03:28 (01:14) $ b) Please write a perl script, mydisplay.pl, to display the login IDs (not distinct users) that logged onto the system between 15:00 and 21:00 in file loginfile4final (shown in bold above). The output of the execution of the script should be similar to the following: $ ./mydisplay.pl loginfile4final The following user login IDs logged onto the system between 15:00 and 21:00 on April 25, 2020 ic33113p200225 ic33113p200225 ic33113p200228 ics3113p200230 $ Please provide your perl script in a screenshot below: (8 points) c) Please provide a screenshot of the execution of your script below: (2 points) 5.5) Please complete the following tasks (10 points) a) Please create the following data file on the server: $ last -wi | grep "ic3311" | grep "Apr 25" > loginfile4final $ cat loginfile4final ic3311 3p200220 pts/0 76.17.205.233 Sat Apr 25 22:09 - 22:11 (00:01) ic33113p2002 dm pt 3/7 174.20.179.85 Sat Apr 25 22:06 - 22:46 (00:39) ic3311 3p200230 pts/0 174.20.179.85 Sat Apr 25 21:49 - 22:07 100:17) ics311sp200225 pts/5 65.128.142.225 Sat Apr 25 20:49 - 22:45 (01:56) ics311sp200225 pts/5 65.128.142.225 Sat Apr 25 20:42 - 20:42 400:00) ics311sp200228 pts/1 138.128.33.245 Sat Apr 25 19:12 - 22:24 (03:11) ics311sp200230 pt3/0 174.20.179.85 Sat Apr 25 16:05 - 20:17 (04:11) ic33113p200230 pts/1 174.20.179.85 Sat Apr 25 14:36 - 16:05 401:28) ic33113p200230 pts/0 174.20.179.85 Sat Apr 25 02:14 - 03:28 (01:14) $ b) Please write a perl script, mydisplay.pl, to display the login IDs (not distinct users) that logged onto the system between 15:00 and 21:00 in file loginfile4final (shown in bold above). The output of the execution of the script should be similar to the following: $ ./mydisplay.pl loginfile4final The following user login IDs logged onto the system between 15:00 and 21:00 on April 25, 2020 ic33113p200225 ic33113p200225 ic33113p200228 ics3113p200230 $ Please provide your perl script in a screenshot below: (8 points) c) Please provide a screenshot of the execution of your script below: (2 points)

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 General Management Questions!