The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help, How to add secondary IP addr to eth0, by programme? pcman High Level Programming 2 07-16-2006 07:05 PM
BAD TRAP: type=30 rp=2a10001b840 addr=2a000012040 mmu_fsr=0 fangfang SUN Solaris 3 01-09-2006 08:45 PM
Internal heap ERROR 17113 addr=0x0 Isax50 UNIX for Advanced & Expert Users 0 01-03-2006 08:16 AM
my_server.1.131.10.in-addr.arpa stancwong UNIX for Dummies Questions & Answers 2 11-14-2005 07:44 AM
AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr mrmeswani AIX 0 07-22-2005 10:22 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2005
Registered User
 

Join Date: Feb 2005
Posts: 2
Post finger, getting name and pts from ip addr

im ultra new at unix and was wondering if its possible to create aliases of the write command that send messeges to users using an ip address. i was thinking to use the '|awk' with the command finger but as i've said im a total newbie. thanks a lot in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-17-2005
Registered User
 

Join Date: Feb 2004
Posts: 91
Well in a related note I'm curious if there is a way to query the hostname of a machine remotely.

For example, if a network is migrated, I'd love to have a script to query a box by hostname or IP and have the machine spit out the hostname on the box located on that IP for verification.
Reply With Quote
  #3 (permalink)  
Old 06-20-2005
Registered User
 

Join Date: Feb 2005
Location: Canada
Posts: 131
Let's say you want to find out who is connected to 10.100.0.1

Code:
# who -u | grep 10.100.0.1
user       pts/tUh      Jun 20 14:08  0:23  12437  10.100.0.1
Then you’ll be able to send a message.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0