Just wanted to share some commands. See what other people have come up with.
I came up with this, to capture CDP packets:
Code:
tcpdump -nn -i eth1 -s 1500 -c 1 'ether[20:2] == 0x2000'
and I used this to change some HEX character to regular character:
Code:
find . -name "*.html" | xargs perl -pi -e 's|\xOLDHEXNUMBER|NEWTEXT|g'
List the last 50 RPM's installed in dated order:
Code:
rpm -qa --queryformat '%{installtime} (%{installtime:date}) %{name}\n' | sort -n | tail -50