09-20-2008
How to check theip address on Redhat Linux 9
hi
How to check theip address on Redhat Linux 9 ?
I have installed a SUN VMWARE and created VM on Vista.
I am on bash and is not able to check the ip of the system.
can someone plz with command ( wit options if any )
Regards,
Subhotech
10 More Discussions You Might Find Interesting
1. Slackware
Hi,
I use linux and it is a great OS, I use Redhat Linux 9 and I was wondering are they going to update 9 or they'll be leaving that to the fedora project?
I would like a stable linux distro.
Thanks
-n (9 Replies)
Discussion started by: Insomniac
9 Replies
2. UNIX for Dummies Questions & Answers
Hi,
We have dual processor dell machine loaded with redhat linux 7.2. It was working fine without any problem but recently power went off so suddenly system switched off. From then onwards system is running very slow. My suspect is on processor. How to check both the processors running properly or... (8 Replies)
Discussion started by: bache_gowda
8 Replies
3. UNIX for Dummies Questions & Answers
I seen a pool that said Linux was the most popular Unix download. I then seen Redhat Linux is the most popular Linux download. Is there a difference? Is it the better program/s? (6 Replies)
Discussion started by: Mr_Pinky
6 Replies
4. Programming
Hello everybody!
I woul quickly need a function
bool ParseIPString(char*)
that parses a string to check if it's in IP format.
thanks in advance for any help!
best regards,
nadiamihu (1 Reply)
Discussion started by: nadiamihu
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I need to know RedHat linux version installed on a different servers.
I know uname -a or /proc/version
Is any other command to know the Linux version????
When we telnet to any of the Linux server, the version shows very clearly like
Red Hat Enterprise Linux ES release 3 (Taroon... (1 Reply)
Discussion started by: bache_gowda
1 Replies
6. Shell Programming and Scripting
Hi all,
Can you please suggest a few lines of if statement to check if a variable is an ip address purely in bash/sh?
Thanks,
Marc (3 Replies)
Discussion started by: marcpascual
3 Replies
7. Shell Programming and Scripting
I am using lunix machine. I want to check if this is RED HAT 4 or higher version. How do i check this?
The below output does not tell about REDHAT version.
$ uname -a
Linux chfdallindb11 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
$
Any help... (2 Replies)
Discussion started by: govindts
2 Replies
8. Red Hat
what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies
9. UNIX for Advanced & Expert Users
Hi,
In my server, the hostname and IP addresses are added to the known_hosts which then be hashed by ssh-keygen -H -f. Is it possible to check if an IP address has already been added to the hashed known_hosts to avoid duplications (I think there will be problems if there are duplicated IP... (3 Replies)
Discussion started by: hce
3 Replies
10. UNIX for Advanced & Expert Users
Is there a way to check when a package was updated on your redhat system? (2 Replies)
Discussion started by: cokedude
2 Replies
LEARN ABOUT CENTOS
ipcalc
IPCALC(1) General Commands Manual IPCALC(1)
NAME
ipcalc - perform simple manipulation of IP addresses
SYNOPSIS
ipcalc [OPTION]... <IP address>[/prefix] [netmask]
DESCRIPTION
ipcalc provides a simple way to calculate IP information for a host. The various options specify what information ipcalc should display on
standard out. Multiple options may be specified. An IP address to operate on must always be specified. Most operations also require a
netmask or a CIDR prefix as well.
OPTIONS
-c, --check
Validate the IP address under the specified family. If no address family is specified, IPv4 is assumed.
-4, --ipv4
Specify IPv4 address family (default).
-6, --ipv6
Specify IPv6 address family.
-b, --broadcast
Display the broadcast address for the given IP address and netmask.
-h, --hostname
Display the hostname for the given IP address.
-m, --netmask
Calculate the netmask for the given IP address. It assumes that the IP address is in a complete class A, B, or C network. Many net-
works do not use the default netmasks, in which case an inappropriate value will be returned.
-p, --prefix
Show the prefix for the given mask/IP address.
-n, --network
Display the network address for the given IP address and netmask.
-s, --silent
Don't ever display error messages.
AUTHORS
Erik Troan <ewt@redhat.com>
Preston Brown <pbrown@redhat.com>
IPv6 supported wedged in by David Cantrell <dcantrell@redhat.com>
REPORTING BUGS
Report bugs at http://bugzilla.redhat.com/
COPYRIGHT
Copyright (C) 1997-2008 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Red Hat, Inc. April 30 2001 IPCALC(1)