Tagged Questions
1
vote
3answers
90 views
a string representation using regex (modified)
I would like to use regular expression to represent a pattern with the following type of characteristics
1) It includes a continuous sequence of digit values. The length of this sequence it at least ...
2
votes
1answer
331 views
IPTables string match redirection
The issue: I am currently redirecting port 80 requests to another system on port 1000.
This is done like so:
iptables -t nat -A PREROUTING ! -s 172.20.1.2 -p tcp --dport 80 -j DNAT --to-destination ...
2
votes
2answers
1k views
How to remove error messages when searching recursively for a string?
I use
find -type f -print0 | xargs -0 -n 10 grep -i searchstring
to search recursively for a string. But it also gives me error messages like "permission denied". How can I avoid such error messages ...