THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

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.

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.