bash telnet command not found

0 votes
I'm trying to connect the server using telnet, but when I enter telnet localhost 8000. It shows the error of telnet not found. I wrote my code in C and ran it on macOS terminal. Am I supposed to install something before I can use it?
May 27, 2022 in Linux Administration by Rahul
• 3,380 points
1,734 views

1 answer to this question.

0 votes

Indeed you would have to introduce telnet to utilize it on your macintosh. You can likewise have a go at utilizing an elective device, that comes pre-introduced on macOS machines. It is called netcat and you can do the accompanying:

nc - vz localhost 8000
In the event that the order above isn't adequate, you can introduce telnet on your macintosh by following the instructional exercise that can be seen as here:

https://osxdaily.com/2018/07/18/get-telnet-macos/ 

answered May 27, 2022 by Korak
• 5,820 points

Related Questions In Linux Administration

0 votes
1 answer

Error lscpu: command not found.

Hi@akhtar, By default, this command should present in ...READ MORE

answered Oct 12, 2020 in Linux Administration by MD
• 95,460 points
1,771 views
0 votes
1 answer

Amazon Linux: apt-get: command not found

Amazon Linux is CentOs-based which means that ...READ MORE

answered Feb 11, 2022 in Linux Administration by Soham
• 9,710 points
2,634 views
0 votes
0 answers

wget command not found on linux server

I have a linux server (completely new, ...READ MORE

Apr 25, 2022 in Linux Administration by Edureka
• 13,690 points
895 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,550 views
0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 14, 2019 in Linux Administration by Kiara
38,060 views
+1 vote
0 answers

Could not start the machine edureka_host_vm because the following physical network interfaces were not found:

Could not start the machine edureka_host_vm because ...READ MORE

Jan 28, 2020 in Linux Administration by Harish
• 130 points
1,142 views
0 votes
1 answer

Volume group "mylv" not found Cannot process volume group mylv

Hi@akhtar, You got this error because your command ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
4,626 views
0 votes
1 answer

Windows system, after heroku login from git bash, there is no command line show

You can login via Windows command prompt ...READ MORE

answered May 27, 2022 in Linux Administration by Korak
• 5,820 points
1,603 views
0 votes
1 answer

Is there a limit on the number of words in bash command 'for file in words'?

Anyway, you need to print everything except ...READ MORE

answered May 27, 2022 in Linux Administration by Korak
• 5,820 points
661 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP