Skip to content

Instantly share code, notes, and snippets.

@bibarsov
Created June 10, 2020 13:35
Show Gist options
  • Save bibarsov/5692a6539e9ba02c9dd53d99571910a4 to your computer and use it in GitHub Desktop.
Save bibarsov/5692a6539e9ba02c9dd53d99571910a4 to your computer and use it in GitHub Desktop.
# netcat; listen on connections on specific port
nc -lvu 5060
# check listening ports
netstat -tulp
# replace in file
sed -i "s+a+b+" filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment