sudo apt install arp-scan
sudo arp-scan -l --interface=wlp2s0
Replace wlp2s0 with your NIC’s name, works for both wireless and wired
Source:
https://askubuntu.com/questions/82480/how-to-see-all-computers-connected-to-a-network
sudo apt install arp-scan
sudo arp-scan -l --interface=wlp2s0
Replace wlp2s0 with your NIC’s name, works for both wireless and wired
Source:
https://askubuntu.com/questions/82480/how-to-see-all-computers-connected-to-a-network
sudo ls /sys/class/net
Source: https://askubuntu.com/questions/296152/how-to-check-what-is-my-network-card-on-ubuntu
sudo apt install xmlstarlet
xmlstarlet val XML_FILE.xml
I tested on my P10 Plus, but this can work on other Huawei phones as well I believe. I have EMUI 8 with Android 8 and my OS is Ubuntu 18.10 with GSConnect
Enjoy!
Sources:
https://github.com/Bajoja/indicator-kdeconnect/issues/43
I found it to be the fastest and most effective way to use the find command and exclude specific folders. That is using the “prune” option:
find /FOLDER_TO_SEARCH_INSIDE -path /FOLDER_TO_EXCLUDE -prune -o -name 'NAME_OR_PATTERN_TO_SEARCH_FOR' -print
That’s it, Enjoy!
Source:
https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command