Question: Write a simple bash script that functions a network bot server. Everything the user types must be echoed back, unless it is one of the
Write a simple bash script that functions a network bot server. Everything the user types must be echoed back, unless it is one of the reserved commands. Your bot must support:
HELLO: Says 'Hi there! The time is
QUIT: Says goodbye and tries to disconnect (might not be successful; ncat is picky)
WHO: lets us know who else is online on the server.
Hints:
Use ncat
Listen on a port specified by the user, but default to a reasonable port number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
