由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How do i get a list of all computers?
相关主题
about DNSHelp! unix problem
菜鸟求教了why?
如何察看同一网段中还有其他什么机器how to write robort in perl w/out expect?
求助: DHCP设置on solarishow to config my networks.
问个弱中弱的问题how to find teh net connection info in UNIX?
怎样打印出grep后的部分内容?bash prompt 一问
请帮忙看看这个问题[转载] 谁能给我看看它的shadow文件?
who knows how to use nslookup?求救!连sgi工作站上internet (in detail)
相关话题的讨论汇总
话题: computers话题: list话题: method话题: names话题: computer
进入Unix版参与讨论
1 (共1页)
G***o
发帖数: 5158
1
which command shall i use to
grep a list of the names of all computers
on a unix network?
thanks.
j***y
发帖数: 87
2
Method 1:(only when you have enough time)
Sit at the first computer, login to a account, type 'hostname' under a shell
prompt. Write the name on a paper.
Sit at the next computer......
The above procedure is repeated until all the computers in the network are
traversed.
Input all the names on the paper to a computer, store as a test file "list.txt"
then list.txt contains all the computer names you need.
Method 2:
use nslookup to lookup the computer names of the ip address in the subnet

【在 G***o 的大作中提到】
: which command shall i use to
: grep a list of the names of all computers
: on a unix network?
: thanks.

h**h
发帖数: 132
3
Method 3,
nslookup
> server ns1.company.com
> ls company.com
then you will get a long list of all registered hostname
under company.com domain, then sort out the ip which you are
looking for.
Method 4
Some network devices provide broadcast ping, say Cisco
router
if you do a
ping 10.60.25.255 (assume that you are in 10.60.24.0/23)
it will give you a fairly completed list of devices on that
subnetwork, but not all NIC responds to broadcast ping. by
doing broadcast ping in cisco router, the ip addr

【在 j***y 的大作中提到】
: Method 1:(only when you have enough time)
: Sit at the first computer, login to a account, type 'hostname' under a shell
: prompt. Write the name on a paper.
: Sit at the next computer......
: The above procedure is repeated until all the computers in the network are
: traversed.
: Input all the names on the paper to a computer, store as a test file "list.txt"
: then list.txt contains all the computer names you need.
: Method 2:
: use nslookup to lookup the computer names of the ip address in the subnet

1 (共1页)
进入Unix版参与讨论
相关主题
求救!连sgi工作站上internet (in detail)问个弱中弱的问题
Re: help me! Re: how to configure networking after installation怎样打印出grep后的部分内容?
Shell Script Question about Hostname请帮忙看看这个问题
登陆到别的主机上运行realplay,如何将图象显示在本机who knows how to use nslookup?
about DNSHelp! unix problem
菜鸟求教了why?
如何察看同一网段中还有其他什么机器how to write robort in perl w/out expect?
求助: DHCP设置on solarishow to config my networks.
相关话题的讨论汇总
话题: computers话题: list话题: method话题: names话题: computer