Check if port is open on remote machine

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

6
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 · 21 weeks and 1 day ago
cashyourcars · 21 weeks and 1 day ago
www.google.com/">Google
cashyourcars · 21 weeks and 1 day 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 https://cashyourcars.com.au/ they are providing these services like cash for scrap cars, cash for used cars, cash for damaged cars or many more.
cashyourcars · 21 weeks and 1 day ago
Great <a href="http://example.com/">there</a>
disdainstockley · 21 weeks and 1 day ago
hostnames work as well.
n0a110w · 20 weeks and 3 days ago
the article provides a good info and useful Unlock My TV
moksha456 · 19 weeks and 1 day ago
Not working in zsh. `/dev/tcp` only exists in bash internals Ref: https://unix.stackexchange.com/questions/305811/where-has-dev-tcp-gone/305813
abassanini · 18 weeks and 6 days 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 · 17 weeks and 2 days ago
It should be <a href="https://www.commandlinefu.com/commands/view/">interesting</a> for you!
BillShiphr · 12 weeks and 3 days ago
https://en.wikipedia.org/wiki/Car
BillShiphr · 12 weeks and 3 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 · 9 weeks and 5 days ago
sab ko mile ga
MaryRudolph · 7 weeks ago
mortgage broker Cambridge
saeed20 · 3 weeks and 6 days ago
I can also tell anyone who is now looking for methods and ways to fix a car without any difficulties and problems, for example, the same camshaft, then you need to study the profile materials that are quite difficult to find anywhere to be honest. I remember just by myself as I was looking for and I can say for sure that here you should definitely think about how to read an excellent article about avtotachki.com/en/vse-pro-raspredelitelnyj-val-dvigatelya , I highly recommend reading it, because I always had problems before if something broke in the middle of the road, I had to pay a lot of money to call the service. And now I know what to do and how to do it. So be sure to take a look and read it, I hope that it will be useful and you will also be able to read it properly, it's very cool. I already know how to fix it and so on. So I hope I was able to help.
Manicopus · 1 day 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?

commandlinefu.com 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.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

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: