import os print "Apache Service Starting" os.system("service apache2 start") print "Apache Service is up" print"" print "SSH Service is Starting" os.system("service ssh start") print "SSH Service is up" import os #print "Starting update" #os.system("sudo apt-get update -y") #print "Update Done" #os.system("cat /etc/passwd") #print "System Users" #os.system("htop") print "Interface Details" os.system("ifconfig") print "Running Services" os.system("service --status-all") print "Current Working Direcotyr" os.system("pwd")