Supposing you have a connection between them (either TCP/IP, serial or another type): 1. Code a little application on UNIX to stay active and wait for a signal from PC (a TCP connection, a unique sequence of bytes at serial port, an e-mail, etc.) 2. When receive the signal, start your external code