Install nmap if you don't already have it on your Linux computer. Run "sudo apt-get install nmap" on Ubuntu, or "sudo dnf ...
The bash script described here can change Linux systems' IP addresses from dynamic to static with much less manual work. Changing the IP address of a Linux system from dynamic to static is not ...