more on identifying the system a program is running on...

Frank Murphy frankly3d at gmail.com
Thu Jul 1 16:02:10 UTC 2010


On 01/07/10 16:56, JD wrote:
>    On 07/01/2010 06:55 AM, Frank Murphy wrote:
>> cd /proc | cat version
> $ cd /proc | cat version
> cat: version: No such file or directory
> $ ls /proc/version
> /proc/version
> $ cat /proc/version
> Linux version 2.6.34-git16.fc13.i686 (jd at localhost.localdomain) (gcc
> version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #3 PREEMPT Sun May 30
> 21:17:11 PDT 2010
>
My mistake:
$ cd /proc |cat version
Linux version 2.6.33.5-124.fc13.i686.PAE 
(mockbuild at x86-11.phx2.fedoraproject.org) (gcc version 4.4.4 20100503 
(Red Hat 4.4.4-2) (GCC) ) #1 SMP Fri Jun 11 09:42:24 UTC 2010

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora


More information about the users mailing list