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.