combination of  python and bash for system administration