LinuxQuestions.org
Review your favorite Linux distribution.
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 02-23-2008, 10:17 AM   #1
dms.prasad
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Exclamation about linux commands


1) which command allows you to determain is a host is connected to the
one of the ip address(eg:10.21.1.40)
2) how to write the command to show all the java processes in system
 
Old 02-23-2008, 10:22 AM   #2
dms.prasad
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
1) which command allows you to determain if a host is connected to the
one of the ip address(eg:10.21.1.40)
 
Old 02-23-2008, 10:43 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You will need to give some more details on your setup and what you are trying to do. For example, are you running a server? What version of Linux? What applications being used? .....etc.

One good thing to know is "man -k <keyword>" In your case try "man -k network" or "man -k host"
 
Old 02-23-2008, 07:12 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
  1. netstat or ss
  2. pgrep java
 
Old 02-24-2008, 01:47 AM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Quote:
1) which command allows you to determain if a host is connected to the
one of the ip address(eg:10.21.1.40)
You can always ping the IP and see if you get a reply back as most servers/workstations allow ICMP requests. In case they don't allow that, look up how to use nmap.

-twantrd
 
  


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
Using linux commands LMSSML Linux - Newbie 21 12-04-2007 05:26 PM
Suse Linux Commands For These Aix Commands? Vaskar Guha Linux - Software 2 12-19-2005 12:45 AM
All who are new to linux: please do the following commands! Squall Linux - Newbie 8 04-29-2004 04:35 PM
linux commands eckomark Linux - Newbie 2 07-20-2001 09:43 AM

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

All times are GMT -5. The time now is 06:08 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