not able to run netstat-tnlp in Linux

0 votes

Hi Guys,

I have my hadoop cluster in my system. I want to check if my port number is running or not. But netstat-tnlp command is not working in my system. 

What should I do?

Apr 16, 2020 in Linux Administration by akhtar
• 38,260 points
1,132 views

1 answer to this question.

0 votes

Hi@akhtar,

In Linux system netstat-tnlp command comes from net-tools software. By default it should be pre installed in Linux system. Otherwise you can download it from your own.

$ yum install net-tools
$ netstat-tnlp

There are one another way to check running port no using nmap.

$ yum install nmap
$ nmap -sT -O <ip>

Hope this will help you.

answered Apr 16, 2020 by MD
• 95,460 points

Related Questions In Linux Administration

0 votes
0 answers

How to setup CRON job to run every 10 seconds in Linux?

I need to run a CRON job every 10 ...READ MORE

Apr 20, 2022 in Linux Administration by Edureka
• 13,690 points
5,430 views
+2 votes
1 answer

Not able to install npm on Ubuntu

Try installing npm using aptitude: sudo apt install aptitude sudo ...READ MORE

answered Nov 28, 2018 in Linux Administration by Omkar
• 69,220 points
8,316 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,220 points
2,636 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
1,235 views
0 votes
1 answer
0 votes
1 answer

What is the difference between ctrl z and ctrl c in command line?

Hi@akhtar, Generally, these two commands are used to ...READ MORE

answered Feb 24, 2020 in Linux Administration by MD
• 95,460 points
47,642 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

answered Apr 7, 2020 in Linux Administration by MD
• 95,460 points
1,206 views
0 votes
1 answer

How to break root password in CentOS/RHEL 8?

Hi@akhtar, Reboot the system and interrupt the boot ...READ MORE

answered May 11, 2020 in Linux Administration by MD
• 95,460 points
1,957 views
0 votes
1 answer

Not able to find IP address in VM.

Hi@akhtar, You need to change your network adapter ...READ MORE

answered Jul 8, 2020 in Linux Administration by MD
• 95,460 points
2,820 views
0 votes
1 answer

How to run one command inside another command in Linux?

Hi@akhtar, You can run multiple commands in your ...READ MORE

answered Oct 15, 2020 in Linux Administration by MD
• 95,460 points
3,065 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