• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1035
  • Last Modified:

net view euivalent in linux (fedora)

hi,
what is command to view all computers on linux
like net view is in windows ?
0
aashee
Asked:
aashee
  • 2
2 Solutions
 
SuperdaveCommented:
This page answers the same question; the short answer is "smbtree".  It should work the same on Fedora.

http://ubuntuforums.org/archive/index.php/t-673894.html

This assumes Samba is working and you are listing all the Windows computers on your network (and Linux computers running Samba).

It is possible to have a network of Linux computers that don't advertise themselves in any way, then you would just have to know.  From a security standpoint, that's a good thing.
0
 
joolsCommented:
you probably want to use something like;
# net status shares
# smbstatus

I think this is more like what you are after, if you want to list all the servers then use smbtree or findsmb.
0
 
aasheeAuthor Commented:

Thanks a lot guys

If I want to see computers from only 2/3 subnets . How can I filter that ?
0
 
aasheeAuthor Commented:
When I do findsmb, it only shows 2 printers in our network but smbtree shows everything.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now