After becoming aware of the <BASH stack /> I also learned about tcpserver, which is a command-line tool for TCP client and server programs.
I have used Netcat and Ncat but was unaware of tcpserver. 😲
In the case of bash-stack tcpserver is used to invoke the core script.
PORT=${PORT:-3000}
echo -n "Listening on port "
tcpserver -1 -o -l 0 -H -R -c 1000 0 $PORT ./core.shInstall tcpserver using apt.
sudo apt install ucspi-tcpIn terms of classification, I chose Linux over Bash since I used a Linux package manager to obtain tcpserver.