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 in Linux Administration by akhtar
• 11,270 points
24 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 by MD
• 24,500 points

Related Questions In Linux Administration

+1 vote
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,060 points
3,302 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,060 points
258 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,060 points
119 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
516 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 in Linux Administration by MD
• 24,500 points
402 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 in Linux Administration by MD
• 24,500 points
39 views
0 votes
1 answer

error: Putty.exe has been denied access to IP

Hi@akhtar, The error may occur because of firewall. Your ...READ MORE

answered May 28 in Linux Administration by MD
• 24,500 points
21 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

answered Mar 31 in Linux Administration by MD
• 24,500 points
68 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 in Linux Administration by MD
• 24,500 points
36 views