Check if port is open on remote machine

echo > /dev/tcp/ && echo "Port is open"
Check if port is open, if you don't have ncat on your machine.
Sample Output
Port is open

By: jonavon
2020-05-03 13:30:13

What Others Think

Writing computer programs is the usage of rationale to encourage determined processing tasks and usefulness. It happens in at least one dialect, which contrasts by application, space, and programming model. Web design service uae is also contribute in programming to stand with technology .
sarahemi · 13 weeks and 2 days ago
cashyourcars · 13 weeks and 2 days ago">Google
cashyourcars · 13 weeks and 2 days ago
If you want to buy sell your old car or your damaged or scrap car n good prices please visit Brisbane Cash For Cars they are providing these services like cash for scrap cars, cash for used cars, cash for damaged cars or many more.
cashyourcars · 13 weeks and 2 days ago
Great <a href="">there</a>
disdainstockley · 13 weeks and 2 days ago
hostnames work as well.
n0a110w · 12 weeks and 4 days ago
the article provides a good info and useful Unlock My TV
moksha456 · 11 weeks and 2 days ago
Not working in zsh. `/dev/tcp` only exists in bash internals Ref:
abassanini · 11 weeks ago
Great info about the open on remote machine I am professional academic writer You can get someone do my essay for me online in the UK. I am working for students academic help.
stephanbraun1 · 9 weeks and 3 days ago
It should be <a href="">interesting</a> for you!
BillShiphr · 4 weeks and 4 days ago
BillShiphr · 4 weeks and 4 days ago
I Was Eagerly Looking For Content Like This, Right To The Point And Detailed As Well Accordingly Depending Upon The Matter/Topic. You Have Managed This Greatly For Sure. Leather Jackets In Chicago
DaniyalAhmed · 1 week and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: