Re: Bash Script Shorcuts for Steam Games

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-09-26 at 20:53 +0100, Martin Gregorie wrote:
> <code>
> pnum=$(ps -ef | gawk '$8 == /ntpd/ { print $2 }')
> </code>
> 
This should, of course, have been:
<code>
pnum=$(ps -ef | gawk '$8 == /hl2.exe/ { print $2 }')
</code>

..but that's what happens when you copy & paste working code from the
terminal and then don't read it afterwards.

Martin





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux