Listening ports…

To know what active port is using any command, i.e. in which port you are listening, for example, to 8080. The second column, the one that says 50192, is the process pid, in my case is Docker who is occupying the port. lsof -i -P | grep -i listen

About how to create a frequency list of every word in a file

Good companions, I wanted to share something that surely we have all had to face, to count the number of apparitions of the words in a file.Imagine you have a file with the following content: $ cat output.txt Selected Star1 is 2 frequency is 205 Selected Star2 is 7 frequency is 139 Selected Winner1 is…

Advertisement