Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I write to file captured data

I user this command from ssh console :

# tshark -D

and get correct result:

1. eth0 
2. nflog 
3. nfqueue 
4. usbmon1 
5. any 
6. lo (Loopback)

How can I save this output in file ? I tried this :

tshark -D > file.txt

but file.txt has been created empty. where is my error ?

How can I write to file captured data

I user this command from ssh console :

# tshark -D

and get correct result:

1. eth0 
2. nflog 
3. nfqueue 
4. usbmon1 
5. any 
6. lo (Loopback)

How can I save this output in file ? I tried this :

tshark -D > file.txt

but file.txt has been created empty. where is my error ?

UPD I also tried so :

tshark -D -w file.txt

but in this case file.txt even not been created.

click to hide/show revision 3
None

How can I write to file captured data

I user this command from ssh console :

# tshark -D

and get correct result:

1. eth0 
2. nflog 
3. nfqueue 
4. usbmon1 
5. any 
6. lo (Loopback)

How can I save this output in file ? I tried this :

tshark -D > file.txt

but file.txt has been created empty. where is my error ?

UPD I also tried so :

tshark -D -w file.txt

but in this case file.txt even not been created.

How can I write to file captured data

I user this command from ssh console :

# tshark -D

and get correct result:

1. eth0 
2. nflog 
3. nfqueue 
4. usbmon1 
5. any 
6. lo (Loopback)

How can I save this output in file ? I tried this :

tshark -D > file.txt

but file.txt has been created empty. where is my error ?

UPD I also tried so :

tshark -D -w file.txt

but in this case file.txt even not been created.