This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi,

I have problem with tshark when I'm trying to save interface list into a file. I used comand: tshark.exe -D > file.txt and file was created but it is empty. In console I can see list of my interfaces. I'm using wireshark 1.6.4 and have this problem. On wireshark 1.4.2 all works fine.

asked 06 Dec '11, 05:02

Maniek's gravatar image

Maniek
6113
accept rate: 0%


tshark outputs the interface info on the standard error stream (stderr). To redirect this to a file use the redirection operator "2>", e.g. tshark.exe -D 2> file.txt.

I have no idea if this changed after 1.4.2, but is the current situation.

permanent link

answered 06 Dec '11, 06:54

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×832
×114
×18

question asked: 06 Dec '11, 05:02

question was seen: 3,334 times

last updated: 06 Dec '11, 06:54

p​o​w​e​r​e​d by O​S​Q​A