Something that has bugged me recently is that when I go to proxy on a particular port, the port is already in use and I get the following error.
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 8090
Could not request local forwarding.
Continue reading “Find process using port number in Bash”
Tag: bash
Debugging PHP by monitoring errors in terminal
This is a super simple command but there is something about the following sequence of characters that I simply cannot retain in my brain.
Continue reading “Debugging PHP by monitoring errors in terminal”
Using Terminal Screen Command
This is a simple one. For some reason, every time I use the screen command in terminal, I forget the commands.
There are probably lots of cool reasons to use screen but I use it to run a script over a longish period. The advantage of screen is I can start the script in the screen instance and detach from it. I can close my laptop and return later to my terminal, open my screen and check the progress of the script. Also, you can run multiple instances of a script as each screen has its own process.
So the basic commands I use and tend to forget are… Continue reading “Using Terminal Screen Command”