Swiss File Knife
a command line
free external tools,
- download the free Swiss File Knife Base from Sourceforge. - open the Windows CMD command line, Mac OS X Terminal or Linux shell. - OS X : type mv sfk-mac-i686.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk ping ip [ip2] [to ip3] [options] check if machine(s) on given ip(s) reply to pings. REQUIRES ADMIN RIGHTS. right click on cmd.exe and select "run as admin" to enable sfk ping. default with only a few target adresses is to show a graphical display of replies. with many addresses a list of replies is shown. experimental command. may not always list all available machines, especially on embedded linux. parameters to n ping range up to n within the same class c network (up to 0 addresses) net n [n2] ping 192.168.n.1 to 192.168.n.254 if computer runs in 192.168 network net r1.r2 n ping r1.r2.n.1 to r1.r2.n.254 mynet ping the network of this computer options -maxwait n wait up to n msec for a reply -maxwait ns wait up to n seconds -list send just one ping and show result as a flat list without graph -stop stop on first reply from any ip, implies -single -range s e with "net": ping from s to e instead of 1 to 254 -pure print just replying ip's -quiet print less infos -quiet=2 show no OK etc. with -stop web reference http://stahlworks.com/sfk-ping examples sfk ping 192.168.1.200 -stop -maxwait 600s +sleep 1000 +then run "install.sh" -yes waits for a ping reply on given ip, then runs install.sh after another delay. sfk ping 192.168.1.200 192.168.1.210 ping these two ip's in parallel sfk ping 130 140 2.150 ping IP .130 and .140 within current subnet and .150 in the .2 subnet sfk ping net 1 2 10 ping whole subnets 1, 2 and 10, like 192.168.1.1 to 192.168.1.254 192.168.2.1 to 192.168.2.254 192.168.10.1 to 192.168.10.254 if your computer is within 192.168.x.x sfk ping net 192.178 3 5 ping 220.127.116.11 to 254 and .5.1 to 254 sfk ping mynet if my computer has an IP 192.168.178.20 then this pings 192.168.178.1 to .254
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.