![]() |
| | #1 |
| Registered User Join Date: Oct 2008
Posts: 1
| can you fix ? I am not a programmer.can you change for following command source codes are following link http://www.vanheusden.com/Linux/tcping-0.1.tgz [root@JCLINUX ~]#tcping -h 203.81.71.69 -p 53 PING 203.81.71.69:53 connected to 203.81.71.69:53, seq=0 time=186.23 ms connected to 203.81.71.69:53, seq=1 time=427.29 ms connected to 203.81.71.69:53, seq=2 time=424.16 ms connected to 203.81.71.69:53, seq=3 time=328.63 ms connected to 203.81.71.69:53, seq=4 time=279.01 ms connected to 203.81.71.69:53, seq=5 time=379.58 ms =================================== My changing target is I want to type tcping 203.81.71.69 ( without -h and -p 53) can i get following result when I type tcping 203.81.71.69 connected to 203.81.71.69:53, seq=0 time=186.23 ms connected to 203.81.71.69:53, seq=1 time=427.29 ms connected to 203.81.71.69:53, seq=2 time=424.16 ms connected to 203.81.71.69:53, seq=3 time=328.63 ms Thanks Please |
| please is offline | |
| | #2 |
| and the hat of vanishing Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,214
| Moved to correct forum. I'm assuming the original author isn't interested in your request. This isn't a forum which offers free software services on demand. Maybe someone here is looking for a small project, and if they wanted to, they could help you. But if you need this done in any kind of a hurry, then http://www.rentacoder.com/RentACoder...t/default.aspx
__________________ If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. Up to 8Mb PlusNet broadband from only £5.99 a month! |
| Salem is offline | |
| | #3 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,588
| here you go. 1. Put the following code in a text file called "mytcping". 2. Give that file execute permissions by typing "chmod u+x mytcping" 3. move the file using "mv mytcping /usr/local/bin/." 4. Run using "mytcping 111.222.111.222" Code: #!/bin/bash tcping -h $1 -p 53
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting an error with OpenGL: collect2: ld returned 1 exit status | Lorgon Jortle | C++ Programming | 6 | 05-08-2009 08:18 PM |
| compiling my code, i can't fix error | howru | C Programming | 2 | 04-22-2008 03:38 AM |
| Drag and Drop code (please help me fix) | John_L | C# Programming | 1 | 11-17-2007 06:11 PM |
| C++ code need help to fix | McReal | C++ Programming | 9 | 05-12-2007 02:48 PM |
| Help me fix my mess!!!! | Starr | C++ Programming | 35 | 02-01-2006 03:40 PM |