Get Program That Satisfies the Condition | Challenge

# Introduction In this challenge, we will implement a script that can be used to obtain information about the program running on a specified port in the LabEx experimental environment. If a program is running on the specified port, the script should output the full path of the program. If no program is running, it should output the string `OK`. The script should be placed at `/home/labex/project/get.sh` and should take a port number as a parameter when executed.

|60 : 00

Click the virtual machine below to start practicing