11-22-2002
NEO, my understanding to your reply is that my command as below
netstat -an | grep 1554
contains the number 1554 BUT
the output as belows has no 1554 but 1580
tcp4 0 0 *.1580 *.* LISTEN
and according to u, there is NO WAY for this to happen....., right?
Okay, i have made an typo error, the command and output should be as below
netstat -an | grep 1580 gives me the below
tcp4 0 0 *.1580 *.* LISTEN
is this okay?
back to my three little questions.. Thanks pal!
5 More Discussions You Might Find Interesting
1. Cybersecurity
hi
if i do a portscan on my fbsd box, i got one port that i don't want to see it open
that's port 111, sunrpc, how can i close it?
and also my-sql port 1433 and port 1523 (cichild-lm)
tnx for your help!! (6 Replies)
Discussion started by: Stormpie
6 Replies
2. Filesystems, Disks and Memory
How can I check the architecture version on a sun box?
So far I've tried;
arch -k which gives
sun4u
and uname -a which gives
SunOS <hostname> 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4
but nothing which definitively states sparc11 or 111 - any ideas? (2 Replies)
Discussion started by: mattd
2 Replies
3. Shell Programming and Scripting
suppose u have a file
ABC ADFA AFAF AGBA AHHAH
AJJA AJKA AJAJ AJAJA AJAJAJ
AHAB AAAJ AJAJA AKK AJAJAA
means gaps have to replaced and see also there will be gaps so output shud be
ABCADFAAFAFAGBAAHHAHAJJAAJKAAJAJAJAJAAJAJAJAHABAAAJJAJAAKKAJAJAA
Thanks (2 Replies)
Discussion started by: cdfd123
2 Replies
4. Shell Programming and Scripting
in a shell script, i hav a variable declared as "ABC-123".
i want to incriment th value ABC-123 by 1 so that the result will be
ABC-124.
Can anyone suggest a solution in shell scripting.. (4 Replies)
Discussion started by: pgmfourms
4 Replies
5. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT MINIX
inet_type
inet_type(4) File Formats inet_type(4)
NAME
inet_type - default Internet protocol type
SYNOPSIS
/etc/default/inet_type
DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands.
The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be
assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default,
both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by
setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) commands.
IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat.
BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat.
The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example,
even if the value of DEFAULT_IP is IP_VERSION4, the command
example% ifconfig -a6
will display all IPv6 interfaces.
EXAMPLES
Example 1: Suppressing IPv6 Related Output
This is what the inet_type file must contain if you want to suppress IPv6 related output:
DEFAULT_IP=IP_VERSION4
SEE ALSO
ifconfig(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)