simple shell script to test if the current user can open sockets and bind bash