Code: Alles auswählen
sed -n '/$(date +%b\ %d)/,$p' /var/log/openvpn-users.log
Code: Alles auswählen
sed -n '/Aug 15/,$p' /var/log/openvpn-users.log
Code: Alles auswählen
sed -n '/$(date +%b\ %d)/,$p' /var/log/openvpn-users.log
Code: Alles auswählen
sed -n '/Aug 15/,$p' /var/log/openvpn-users.log
Code: Alles auswählen
sed -n "/$(date +%b\ %d)/,"'$p' /var/log/openvpn-users.log
Code: Alles auswählen
$ set -x
$ sed -n '/$(date +%b\ %d)/,$p' /dev/null
+ sed -n /$(date +%b\ %d)/,$p /dev/null
$ set -n "/$(date +%b\ %d)/,\$p" /dev/null
+ date +%b %d
+ set -n /Aug 15/,$p /dev/null
$
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier