On 02/13/2013 10:21 AM, Suvayu Ali wrote: > Hi, > > I used to use netcat to check if a particular host is up or if I have > internet connection before I run a few scripts. I would use the -z > option in particular. But now I see that has been removed: > > $ nc -z imap.gmail.com 993 && sync-my-email.sh > ncat: invalid option -- 'z' > > Here is the excerpt from the old manual page: > > -z Specifies that nc should just scan for listening daemons, without > sending any data to them. It is an error to use this option in > conjunction with the -l option. > > Any ideas what happened to it? What can I use as replacement? > > Thanks for any ideas. > tcping -u 1000000 imap.gmail.com 993 && sync-my-email.sh -- Don't be bullied by the judgmental grammar and spelling police. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org