Skip to content

fduran/Python-for-Linux-SysdAmin

Repository files navigation

Python-for-Linux-Sysadmin

  • Aimed at Linux sysadmins with knowledge of Bash or Perl that are learning Python or developers wanting to perform system administration or automate Linux stuff with Python
  • Based on Python 2.7
  • Examples based on usage of the Python modules that are most useful for sysadmin work

Basic Modules

  • Interacting with the Operating System: os
  • Interactign with the Interpreter (gettign args for ex) sys
  • Executing Linux commands: subprocess
  • High Level File Operations shutil
  • Command line options argparse
  • Config file parser ConfigParser
  • Logging logging
  • Network connections socket

Other Modules

About

Notes and examples for using Python in common Linux sysadmin tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages