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-64.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk fromnet [port] [options] receive network text sent by sfk tolog or tonetlog. if a port number is given, it is used to receive text instead of the default UDP port 21323. options -raw do not cache text lines without linefeed but print them to terminal immediately. default is to wait for a linefeed, to join large lines split across multiple messages. -timeout=n wait up to n msec for input, then continue with next chain command, if any. default since sfk 1.8.8 is to wait endless if no input is received. -nowait with command chaining, always go to next command even without any input -port=n to specify receive port by option chaining support cannot not use chain input data. see also sfk netlog - how to send SFK network text sfk udpdump - print raw udp data immediately A recommended GUI tool to view and filter network text is Depeche View. Type sfk getdv to download, then run the tool by dview -net for instant net text display. It runs with Windows, and on Linux/Mac using WINE. web reference http://stahlworks.com/sfk-fromnet examples sfk fromnet wait for incoming text and print it to terminal. sfk fromnet +filter -high red error +loop highlight errors in red in the incoming text. sfk echo "waiting ..." +fromnet 5000 prints a message then waits for text on port 5000. to send text on the same machine use: sfk echo "hello" +tonetlog localhost:5000
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.