summaryrefslogtreecommitdiff
path: root/examples/var_service/ifplugd_if/w_log
blob: 34b19b37324c8d8033a7d451bbb8babcbbfd6b35 (plain)
1
2
3
4
#!/bin/sh

cd log/logdir || exit 1
watch -n2 'w=`ttysize w`; h=`ttysize h`; tail -$((h-3)) current 2>&1 | cut -b0-$((w-2))'