No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to use a "python loop through list" and execute a command on each line from the list found and in between sleep to give it time to finish that command. Here my script. I know it's the basic, but some one can help me to help me in … |
|
Hello, I'm trying to get this piece of script working, but I'm having an issue on my script. The if [ $DEV_ORA -eq 0 ] is not get run when I run my script. I do not know what I'm doing wrong here. Basically I trying to run the second … |
|
Please anyone can help me. I need to add an if statement to verify if a user already exists on a table. Can someone help me on this. Here is my code. The code below it work but it doesn't verifyed if a user already exists. Thanks <?php /* Attempt … |
|
Hello everyone, I'm trying to get a python script to run base on the os release and if its physical or virtual machine. If its virtual the script will NOT run, but if its Physical the script will run base on the os release level. I'm a little bit confusing … |
|
I'm trying to get python script to verify if the Linux server is the os release, 5,6 or 7 Can someone help me to guide me to the right direction. import os import platform import sys os_release = (str(platform.linux_distribution()[0])) if os_release == "5": os.system("df -h") elif os_release == "6": os.system("date") … |