[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] ranger: how-tos or cheat-sheet
From: |
Roman Z. |
Subject: |
Re: [Ranger-users] ranger: how-tos or cheat-sheet |
Date: |
Tue, 5 Mar 2013 13:20:15 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Mar 05, 2013 at 01:27:05AM -0500, ping wrote:
> pcap)
> 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.
Roman