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,180 points
167 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,140 points

Related Questions In Linux Administration

+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,110 points
5,055 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,110 points
622 views
0 votes
1 answer

How to create a symlink in Linux?

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

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,110 points
245 views
0 votes
1 answer

Not able to access /etc/sudoers.d/python file

I think your system is not allowing ...READ MORE

answered Feb 6, 2019 in Linux Administration by Lohit
947 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,140 points
6,997 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,140 points
132 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,140 points
217 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,140 points
129 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 14, 2020 in Linux Administration by MD
• 95,140 points
186 views