Posts by Paulo Jorge • 1 point
1 post
-
0
votes2
answers90
viewsA: Change Directory and run command
import os os.chdir('/usr/share/nmap/scripts') pipe = os.popen('ls | grep FTP') resultado = pipe.read() pipe.close() print(resultado) The module os provides functions to interact with the operating…
pythonanswered Paulo Jorge 1