Tag Info

New answers tagged

0

If your system has access to NodeJS you could install the following Node package, strip-ansi. $ npm install -g strip-ansi You can then run your command like so: $ command-that-produces-colored-output | strip-ansi > outfile


3

You can use a regular expression: &!cat|dog|fish


1

Old post, but for reference, it wouldn't work for a few reasons: The priority should be 16 and not 1 The filter handle should be 800::800 and not 800:800 You must supply the parent qdisc that the filter is attached to This should work: tc filter del dev peth1 parent 1: handle 800::800 prio 16 protocol ip u32



Top 50 recent answers are included