Create Python Linux Script to Generate a Disk Usage Report
There are many choices when it comes to writing scripts on Linux. The bash shell script has been a popular choice, since the bash shell itself is a programming language and the commands used in the script match the syntax of the shell. Python is becoming increasingly popular for scripting on Linux because of its simple syntax, easy access to Linux system commands, and powerful libraries with which to create reports, for example. In addition, Python can be used in other applications and on multiple platforms, so there is also the benefit of learning one language for many programming requirements. In this course, you will create a Python script in which you will determine disk space and generate a report on disk usage on an Ubuntu Linux system. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Linux Disk Usage
由 PL 提供Sep 8, 2020
Helped me understand Ubuntu interfacing with Python and creating CSV files using Python. Recommended!
由 E 提供Dec 4, 2020
Every step is very well explained leaving no doubt about what each line of code is doing, recommended!