Useful Commands to Create Commandline Chat Server and Remove Unwanted Packages in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

5 Responses

  1. Kenny Hendrick says:

    Oh I get it, this nc is for LOCAL network activity, huh?

    When I try to do it via hostname or outward Ip address it fails returning:

    This is nc from the netcat-openbsd package. An alternative nc is available
    in the netcat-traditional package.
    usage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port]
    [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol]
    [-x proxy_address[:port]] [hostname] [port[s]]
    
  2. Kenny Hendrick says:

    Hey Allen,

    If I have a server that is set up in pass-through (machine 1; not used in loop) is there a way to make this nc business work for me using machine 2 and machine 3 that are not in passthrough?
    (*passthrough is at&t’s nomenclature for demilitarized I think).

    I’ve already port forwarded a port to designate that machine 2 will host but still I cannot get machine 3 to connect…..arrrrggghhhh!!!! (now I can’t even get me to talk to me)

  3. anonymous1999 says:

    thank you.

  4. Ian Kirk says:

    hostname -I
    finds my ip address. Much simpler than the method shown here.

    • Alan Schmidt says:

      Well, yeah.

      On the other hand, this article is a decent introduction to awk, which is a command line Swiss army knife.

      On that basis, I give it high marks, since general awk skills are a thousand times more useful than a few simple, cookbook commands.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *