We all have been using chat service since a long time. We are familiar with Google chat, Hangout, Facebook chat, Whatsapp, Hike and several other application and integrated chat services. Do you know Linux nc command can make your Linux box a chat server with just one line of command.
What is nc command in Linux and what it does?
nc is the depreciation of Linux netcat command. The nc utility is often referred as Swiss army knife based upon the number of its built-in capabilities. It is used as debugging tool, investigation tool, reading and writing to network connection using TCP/UDP, DNS forward/reverse checking.
It is prominently used for port scanning, file transferring, backdoor and port listening. nc has the ability to use any local unused port and any local network source address.
Use nc command (On Server with IP address: 192.168.0.7) to create a command line messaging server instantly.
$ nc -l -vv -p 11119
Explanation of the above command switches.
- -v : means Verbose
- -vv : more verbose
- -p : The local port Number
You may replace 11119 with any other local port number.
Next on the client machine (IP address: 192.168.0.15) run the following command to initialize chat session to machine (where messaging server is running).
$ nc 192.168.0.7 11119
Note: You can terminate chat session by hitting ctrl+c key and also nc chat is one-to-one service.
I’ve been browsing online more than three hours today, yet I never found any interesting
article like yours. It’s pretty worth enough for me.
Personally, if all site owners and bloggers made
good content as you did, the net will be much more useful than ever before.
Thanks Mate! Keep Supporting.
Excellent post. Keep posting such kind of information on your page.
Im really impressed by it.
Hi there, You have done a fantastic job. I’ll certainly digg it and in my opinion suggest
to my friends. I am sure they’ll be benefited from this site.
I blog quite often and I seriously thank you for your
content. Your article has really peaked my interest. I’m going to bookmark
your site and keep checking for new information about once
per week. I opted in for your RSS feed too.
Thanks mate! Keep Supporting.
My developer is trying to convince me to move to .net from PHP.
I have always disliked the idea because of the expenses.
But he’s tryiong none the less. I’ve been using WordPress on numerous websites for about a year and am worried about switching to
another platform. I have heard good things about blogengine.net.
Is there a way I can transfer all my wordpress posts into it?
Any kind of help would be really appreciated!
it depends on which platform you are switching.
It’s going to be finish of mine day, except before end I am
reading this impressive article to improve my experience.
Hi, always i used to check web site posts here in the early hours in the break of day,
because i like to find out more and more.
Hmm it looks like your website ate my first comment
(it was super long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly
enjoying your blog. I too am an aspiring blog blogger but I’m still
new to the whole thing. Do you have any helpful hints for first-time blog writers?
I’d definitely appreciate it.
Your style is so unique in comparison to other folks I have read stuff from.
I appreciate you for posting when you have the opportunity,
Guess I’ll just book mark this web site.
I am genuinely grateful to the holder of this web site who has shared this fantastic article at at this place.
Thanks mate. keep supporting
Nice post. I was checking constantly this weblog and I’m impressed!
Very useful info specifically the last part 🙂 I care for such information a lot.
I was looking for this particular information for a long time.
Thanks and good luck.