I am doing a script with python to know when someone is connected to my system using ssh in linux mint, I have this:
#! /usr/bin/python3
import subprocess
subprocess.run("who > /home/sergio/Comandos/who.txt",shell=True)
a=subprocess.check_...
asked by
22.08.2018 / 17:02