run terminal command in kali python code example
Example: run linux command using python
import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])
import subprocess
subprocess.call("command1")
subprocess.call(["command1", "arg1", "arg2"])