Ping -t option in linux ?
is there a ping -t option in linux as there is in dos ?
it would be helpful |
Hi, welcome to LQ!
According to the man page for `ping` there is both a -t and -T option. try: Code:
shell$ man ping Sasha |
What does ping -t do ?
Take a look at Code:
man ping |
Quote:
Anyway, using options you may control the number of packets to send or set a specific amount of time after which ping terminates without human intervention. |
Hi,
Welcome to LQ! You should learn to use the 'man command' from the cli or online. Just a few links to aid you to gaining some understanding; Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Utimate Linux Newbie Guide LinuxSelfHelp Getting Started with Linux Advanced Bash-Scripting Guide Linux Home Networking :hattip: The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
Quote:
Ctrl+| (ctrl + pipe symbol) will show an abreviated version of the summary Quote:
http://www.thegeekstuff.com/2009/11/...mand-examples/ |
Quote:
|
pint -t in Dos just does a ping until you send a break command. Linux does this without any options. so In Linux there is no need for -t or any other option to get the same effect.
|
Your system may alias ping to limit the number of pings.
e.g. alias ping='ping -c4' |
If you want continues ping .then in linux simply "ping 192.168.1.1" is enough .No need for any option
|
again not entirely true, although the default options are usually adaquate there are circumstances where they are not (although i admit i can't think of any off hand)
as for ping -t on windows linux you would have to do the OPPOSITE, that is specifiy a set number of pings before it stops which would be Code:
ping -c *number of pings to send* |
All times are GMT -5. The time now is 12:10 AM. |