Create Python Linux Script to Generate a Disk Usage Report
Offered By: Coursera Project Network via Coursera
Course Description
Overview
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.
Syllabus
- Python Linux Script to Generate a Disk Usage Report
- Linux is a popular operating system that is based on the Unix operating system. It has many distributions which have different interfaces for installing software, different user interfaces, and so on. One thing all of the ‘distros’ have in common is that they all have a command line interface, or terminal. In fact, sometimes there is no user interface except the terminal itself. A Linux server running a web application on AWS, for example, may only contain the software required to run the application, and no GUI ‘window’ system at all. It is crucial to learn the Linux command line if you are going to be a productive Linux user and/or administer a Linux server.In this course, you will use Linux commands to navigate Linux directories, search for files, search for patterns, create files and directories, and remove files and directories.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.
Taught by
David Dalsveen
Related Courses
Design Computing: 3D Modeling in Rhinoceros with Python/RhinoscriptUniversity of Michigan via Coursera A Practical Introduction to Test-Driven Development
LearnQuest via Coursera FinTech for Finance and Business Leaders
ACCA via edX Access Bioinformatics Databases with Biopython
Coursera Project Network via Coursera Accounting Data Analytics
University of Illinois at Urbana-Champaign via Coursera