Prev Next (invoking.html) Chapter 2. Starting Off With a Sha-Bang (part2.html)
2.2. Preliminary Exercises
1. System administrators often write scripts to automate common tasks. Give several instances where such scripts would be useful. 2. Write a script that upon invocation shows the time and date (timedate.html#DATEREF), lists all logged-in users (system.html#WHOREF), and gives the system uptime (system.html#UPTIMEREF). The script then saves this information (io-redirection.html#IOREDIRREF) to a logle.
Prev (invoking.html) Home (index.html) Next (part2.html)
Python Advanced Programming: The Guide to Learn Python Programming. Reference with Exercises and Samples About Dynamical Programming, Multithreading, Multiprocessing, Debugging, Testing and More