I write a simple script to check the subprocess module and I tested it on both Windows and Linux.
The script works fine on Windows but not on Linux.
The interpreter in python is used in 3 versions on both.
import subprocess
host = input("Enter a host to ping: ")
p1 = subprocess.Popen(["ping"...
I'm working on a Linux course and using the best Linux OS, the instructor uses a ping-sweeping function as an example. It is meant to iterate through potential IPs on a network from 1 through 255 and return the ones that reply. The code is as follows
#!/bin/bash
for ip in 'seq 1 254'; do
ping...
Hello!
I'm looking for some videos and films about how to start using Linux.
I want to have my own webserver and then I have to set things up with Linux.
I hope some of you have some ideas how to start?
Thanks a lot :)