Check which process is using any port

netstat -aon | findstr <port_number>   -a Displays all connections and listening ports. -o Displays owning process Id associated with each connection. -n Displays addresses and port numbers in numerical forms netstat -a -n -o | findstr 8080 Check the name of that process tasklist | findstr 29180 Fonte: https://dzone.com/articles/how-to-check-which-process-is-using-port-8080-or-a

Check ubuntu version nd repair Grub

If you re using bootable ubuntu by pendrive and need to know what is the ubuntu version installed You can use /etc/lsb-release for that: ~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.04 DISTRIB_CODENAME=raring Or by terminal, you need to mount linux partition and: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: … Continue reading Check ubuntu version nd repair Grub

Uiautomatorviewer and java

Uiautomatorviewer funciona apenas com Java 8. Siga os seguintes passos para configurar Uiautomatorviewer: Verifique a versão do Java com: $ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing) Install Specific version of java (Java 8) #Install Java 8 $ sudo apt install openjdk-8-jdk … Continue reading Uiautomatorviewer and java

Install Selenium – ubuntu 20.04

You can create an environment to install or install in all the system. Use the followings code: $ pip install selenium #This command is to verify if selenium was installed $ pyhton -m selenium No module named selenium.__main__; 'selenium' is a package and cannot be directly executed Install webdrivers for different broswers, you have two … Continue reading Install Selenium – ubuntu 20.04