tail on nomachine log

tail on nomachine log

-F allows for log rotation

tail -F --lines=1 /c/programdata/nomachine/var/log/nxserver.log | awk '/NX-private-key/ {system("notepad")}'

``