[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] ranger: how-tos or cheat-sheet

From: ping
Subject: Re: [Ranger-users] ranger: how-tos or cheat-sheet
Date: Tue, 05 Mar 2013 11:01:51 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

that really works. thanks!
yes that's my flavor of tcpdump usage, giving me all major info I wanted.
but in case I need to use some other parameters, I still hope I can use the great 'r' (open with) feature and type in whatever command/parameters I want,
and for that, I haven't implemented yet, here is the test:

press r

0 | vim ..
1 | ask
2 | "$EDITOR" ..
3 | "$PAGER" ..


I then typed in "tcpdump -nr" and hit return...but nothing happened....

attached is a pcap file for your reference just in case you need ...

On 03/05/2013 07:20 AM, Roman Z. wrote:
On Tue, Mar 05, 2013 at 01:27:05AM -0500, ping wrote:
         have tcpdump && tcpdump -SvvtttXXnr "$path" | head -n
$maxln | fmt -s -w $width && exit 6
You use a wrong exit code.  There is a table with exit codes in the
comments at the top.  You probably want to use exit code 4 instead of 6.

Also, does "tcpdump -SvvtttXXnr foo.pcap" work by itself?  I can't test
it because I have no pcap file.


Attachment: dump.pcap
Description: application/extension-pcap

reply via email to

[Prev in Thread] Current Thread [Next in Thread]