Changes

Jump to: navigation, search

OPS435 Assignment 1 A

No change in size, 14:50, 15 February 2018
Instructions
==Overview==
Most system administrators would like to know the utilization of their systems by their users. On a Linux system, each user's login records are normally stored in the binary file /var/log/wtmp. The login record in this binary file can not be viewed or edited directly using normal Linux text commands like 'less', 'cat', etc. The 'last' command is often used to display the login records stored in this file in a human readable form. The following listing is a sample output of the 'last' command:
<pre>
$ last -F
=== Program Name and valid command line arguments ===
Name your Python3 program as <code>usage_report.py</code>. The program should accept zero or more "file name" as as its command line parameters. for examples:
* python3 usage_report.py, or
* python3 usage_report.py <b><code>filename</code></b>, or
1,760
edits

Navigation menu