Language Selection

English French German Italian Portuguese Spanish

Having fun with netcat.

Filed under
HowTos

Netcat or nc in short can be aptly described as one of those two letter command-line tools that have all of legendary UNIX magic and power.

nc however is a new program and does not share the age of well known programs like cat or dd. However its power and versatility make one think why no one came up with this before.

Past is past. Let us worry about the future now. The future is VoIP, multimedia streaming, video on demand...but we are digressing. We are discussing netcat here.

Interestingly netcat is going to help us in future as the best way to debug future network protocols. Peer to peer networking is often touted as the wave of the future Internet and I shall talk about an interesting anecdote of how invaluable netcat proved to me whilst testing my peer topeer NAT traversal library.

It is not very likely you have used it. So let us start with few simple exams before we get on to nontrivial ones.

$nc -l -p 1234

Full Story.

More in Tux Machines

Android Leftovers

GNOME 3.28 Linux Desktop Environment Development Kicks Off with First Snapshot

GNOME developer Javier Jardón is kicking off the development of the GNOME 3.28 desktop environment with the first snapshot, GNOME 3.27.1, which is now available for public testing. Read more

How to manage casual contributors to open source projects

Increasingly, people want to contribute to projects casually—when they want to, rather than adhering to a schedule. This is part of a broader trend of "episodic volunteering" noted by a wide range of volunteer organizations and governments. This has been attributed not only to changes in the workforce, which leave fewer people able to volunteer with less spare time to share, but also to changes in how people perceive the act of volunteering. It is no longer seen as a communal obligation, rather as a conditional activity in which the volunteer also receives benefits. Moreover, distributed revision-control systems and the network effects of GitHub, which standardize the process of making a contribution, make it easier for people to contribute casually to free/libre/open source software (FLOSS) projects. Read more

5 ways to invigorate education with Raspberry Pi

A couple of years ago, I was talking to PayPal senior director of software development Harper Reed at All Things Open in Raleigh, N.C., when he suggested that the best way to invigorate education would be to purchase Raspberry Pis en masse and put them in public libraries. Although many schools have made sizeable investments in classroom technology, those investments have done little to advance students' understanding of how the technology works. That's where the Raspberry Pi comes in, as it's the ideal vehicle to demonstrate the educational efficacy of open source software and open hardware in the classroom. Read more