Looks simple but is annoying...
or:
Because interface numbers can be different among different machines, i want to use this command to sort out the Local Ethernet Cable connection and use it as a variable in my tshark script after sorting this out first... but i can't seem to print a list to a txt file?! Thanks! asked 08 Mar '12, 05:26 Marc |
One Answer:
Thats because the output of Try this: See this Microsoft Ressource for a detailed explanation of the redirecting of handles. answered 08 Mar '12, 05:34 Jasper ♦♦ edited 08 Mar '12, 05:36 |
Djeez! That was very fast ;-) Thanks Jasper!
Could i use this in 1 commandline? ie something like.. tshark.exe -D | grep therightinterface | tshark capturecommandline
Depends... you'll have to redirect stderr to stdout to be able to pipe it, e.g. like this: tshark -D 2>&1|grep therightinterface...