>_
linuxcommand.dev
Home
Roadmap
Contact
EN
Dark
>_
>_
linuxcommand.dev
Home
Roadmap
Contact
Legal Notice
Privacy Policy
Language
DE
EN
Design
Dark
Startseite
›
-k
Netcat
-k
Keeps netcat listening even after a disconnect.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Last updated:
2025-10-07
Report error
Syntax
Copy
$
nc -k -l -p [port]
Examples
Examples
$
nc -k -l -p 1234
Typical use cases
Keep listening
nc -k -l -p port
Note
Keep Listening after Disconnect.
Export
Text
JSON
Script