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
Unable to ping the gateway IP itself chrisanto_2000 IP Networking 6 02-16-2007 09:55 AM
unable to ping sak900354 UNIX for Dummies Questions & Answers 2 01-02-2007 09:57 AM
unable ping ipaddress pdoug76 UNIX for Dummies Questions & Answers 1 05-30-2003 11:25 AM
Unable to ping my Ip in sco Unix pdoug76 UNIX for Dummies Questions & Answers 10 05-30-2003 11:08 AM
Unable to ping host gavon UNIX for Dummies Questions & Answers 3 08-20-2001 09:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-30-2005
swepaul swepaul is offline
Registered User
  
 

Join Date: May 2005
Posts: 2
Question UNable to find ping command

HI,
I am new to unix. I have used some basic commands and written some simple shell scripts in teh past. Currently, I am supposed to write a script to continuosly check if a couple of machines are up and if not to start a script. I am using a bash - 2.03. I have tryying to use the ping command at teh prompt but geta message - 'Command not found'. I checked the biin folder, and yes, it doesnt contain that command. Is there anything I can do? In fact ipconfig and related commands dont exist either.
Please help me....
Thanks,
Swepaul
  #2 (permalink)  
Old 05-30-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
In your script, try using

/bin/ping instead of ping.

Vino
  #3 (permalink)  
Old 05-30-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Usually /usr/sbin/ping

Cheers
ZB
  #4 (permalink)  
Old 05-30-2005
swepaul swepaul is offline
Registered User
  
 

Join Date: May 2005
Posts: 2
Smile Thanks for the help with ping!

Thanksf or the info. sbin worked
Regards,
Swepaul
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0