LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2015, 11:00 AM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Rep: Reputation: Disabled
CentOS 7 no nmap


i was watching a video that was showing how to check all IP's in use on your network, nmap -Sp x.x.x.x , apparently nmap is not installed by default on version 7.

from what i can tell the alternative seems to be ncat... when i do an ncat --help or check the man pages i can't see anything listed that would have the same result.

is there a different command that should be used?
 
Old 10-19-2015, 11:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by iceman81 View Post
i was watching a video that was showing how to check all IP's in use on your network, nmap -Sp x.x.x.x , apparently nmap is not installed by default on version 7.

from what i can tell the alternative seems to be ncat... when i do an ncat --help or check the man pages i can't see anything listed that would have the same result. is there a different command that should be used?
Why don't you just install nmap? Should just have to type in "yum install nmap"
 
Old 10-19-2015, 11:18 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
nmap checks what ports are open on a system, ncat allows sending data to a remote system. Quite different.

Even if nmap is not installed by default, have you tried installing it manually? E.g. yum search nmap?
 
Old 10-19-2015, 11:58 AM   #4
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Original Poster
Rep: Reputation: Disabled
I didn't install it because I'm using this box to study for rhcsa, and I don't want to get used to tools that wont be available on the exam. The video I was watching was supposedly sample objectives, but it was for rhel 5. So it's possible it's not relevant, but I was just curious.

The objective was to disable dhcp on the host and make it static, but you had to make sure that you weren't choosing an ip that was already in use on the network.
 
Old 10-19-2015, 12:12 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
The video I was watching was supposedly sample objectives, but it was for rhel 5. So it's possible it's not relevant, but I was just curious.
you do know that rhel5 is the very old legacy support os

using things for rhel5 to study for rhel7 is like

using Windows XP to study for Windows 10

it WILL NOT WORK!!!


While Cent is 99 like RHEL

to STUDY!!! for a Red Hat TEST!!!!
buy the f'ing license to redhat
the self support is only $49USD( desktop install)
if you can not even be bothered to spend 49 dollars to study for a TEST and EARN a Cert.

find a NEW LINE OF WORK!!!!

Last edited by John VV; 10-19-2015 at 12:17 PM.
 
Old 10-19-2015, 12:33 PM   #6
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Original Poster
Rep: Reputation: Disabled
Yes I realize that, but nmap i don't think is legacy, and the objective should still be valid. I was just asking how to achieve that result on a current version of the os. Sorry if I didn't make that clear

And I wasn't aware of the cheap price for self support, the book I have uses centos, didnt think it was a big deal. But thank you for the reply

Last edited by iceman81; 10-19-2015 at 12:36 PM.
 
Old 10-19-2015, 12:59 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by iceman81 View Post
Yes I realize that, but nmap i don't think is legacy, and the objective should still be valid. I was just asking how to achieve that result on a current version of the os. Sorry if I didn't make that clear

And I wasn't aware of the cheap price for self support, the book I have uses centos, didnt think it was a big deal. But thank you for the reply
while nmap is not legacy, it is not part of a default install for RHEL and thus not standard for CentOS either. It is out there to install just like screen. Great powerful tool, but not installed as part of a default install.

Again to study for the RHEL v6 or v7 exam, you should really being finding that study material as so much has changed between RHELv5 and modern releases.

https://nmap.org/book/inst-linux.html#inst-rpm

some details there about nmap
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS on CentOS 6 can talk to Centos 5 but not Centos 6 clients deathsfriend99 Linux - Server 2 11-08-2013 02:33 PM
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 01:08 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 09:10 AM
nmap increase send delay for nmap 4.20 matters Slackware 1 10-01-2007 11:37 PM
nmap psyklops Linux - General 4 08-27-2003 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration