sudo arp-scan 192.168.178.0/24 | awk '{ print $1 }' | egrep "^[0-9]{3}" | uniq | sort -t . -k 3,3n -k 4,4n
Heraus kommen alle IP-Adressen aufsteigend sortiert.
sudo arp-scan 192.168.178.0/24 | awk '{ print $1 }' | egrep "^[0-9]{3}" | uniq | sort -t . -k 3,3n -k 4,4n
List<DataTable> manytables = new List<DataTable>();
manytables.Add(new DataTable("one"));
manytables.Add(new DataTable("two"));
manytables.Add(new DataTable("three"));
string result = "";
MessageBox.Show(manytables[0].TableName);
foreach (DataTable table in manytables )
{
result += table.TableName + " ";
}
MessageBox.Show("Count tables: " + manytables.Count() + "\r\n" + "Names: " + result);
Ich wollte die neu erworbene Powerstation in Openhab einbinden, um den aktuellen Status (Ladestand etc.) über Openhab auswerten zu können. ...