# netcat (nc) Command in Linux, with Examples

DevFeed: [netcat (nc) Command in Linux, with Examples](<https://devfeed.tech/articles/netcat-nc-command-in-linux-with-examples-20878.md>)

Original publisher: [Read original article](<https://linuxblog.io/netcat-nc-command-linux-examples/>)

Author: Hayden James

Published: 2026-08-01T10:42:27Z

Content type: tutorial

Language: en

Sources: [Hayden James](<https://devfeed.tech/sources/hayden-james.md>)

Topics: [networking](<https://devfeed.tech/topics/networking.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [commands](<https://devfeed.tech/tags/commands.md>), [connectivity](<https://devfeed.tech/tags/connectivity.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [examples](<https://devfeed.tech/tags/examples.md>), [guide](<https://devfeed.tech/tags/guide.md>), [linux](<https://devfeed.tech/tags/linux.md>), [networking](<https://devfeed.tech/tags/networking.md>), [port](<https://devfeed.tech/tags/port.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [sysadmins](<https://devfeed.tech/tags/sysadmins.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [tool](<https://devfeed.tech/tags/tool.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [udp](<https://devfeed.tech/tags/udp.md>)

## AI overview

A practical guide to the Linux nc (netcat) command, covering port testing, file transfers, banner grabbing, reverse shells, proxies, and network-service debugging over TCP and UDP. It also explains implementation differences across OpenBSD netcat, Ncat, BusyBox, and traditional netcat.

## Source excerpt

The nc command (netcat) is a lightweight but surprisingly powerful networking tool for port testing, file transfers, banner grabbing, and connectivity debugging. This practical guide covers the flags and real-world usage patterns that Linux users and sysadmins actually reach for. Continue reading...