Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 Use the following command to download a sample of the apache HTTP log file (wget) wget ftp:/lita.ee.lbl.gov/traces/NASA access log Aug95.gz (You can get it
3 Use the following command to download a sample of the apache HTTP log file (wget) wget ftp:/lita.ee.lbl.gov/traces/NASA access log Aug95.gz (You can get it from the NASA site: http:/ita.ee.lbl.gov/html/contrib/NASA-HTTPhtml) After you downloaded the NASA access log.. .file, run the following to decompress it gunzip-d NASA access log Aug95.g (Keep that file for future use) Open the file and make yourself familiar with its format. Note, that the first field in the file is the IP address of the requestor. Using the tools we discussed, find out a. Display first 20 entries of the log file, sorted by the unique web pages. b. Search for and display the first 20 entries from the log file that have status code other than 200 (success) C. Repeat the above, but this time display result sorted by file name
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started