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

2010-07-01 Thread Tim
On Thu, 2010-07-01 at 17:02 +0100, Frank Murphy wrote: > My mistake: > $ cd /proc |cat version > Linux version 2.6.33.5-124.fc13.i686.PAE > (mockbu...@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 I still don't see how

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

2010-07-01 Thread Patrick O'Callaghan
On Thu, 2010-07-01 at 17:20 +, g wrote: > Patrick O'Callaghan wrote: > > On Thu, 2010-07-01 at 17:02 +0100, Frank Murphy wrote: > >> My mistake: > >> $ cd /proc |cat version > > > > Or just 'cat proc/version' > > better yet 'cat /proc/version'. Of course. poc -- users mailing list users@l

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

2010-07-01 Thread g
Patrick O'Callaghan wrote: > On Thu, 2010-07-01 at 17:02 +0100, Frank Murphy wrote: >> My mistake: >> $ cd /proc |cat version > > Or just 'cat proc/version' better yet 'cat /proc/version'. -- peace out. tc,hago. g . in a free world without fences, who needs gates. ** help microsoft st

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

2010-07-01 Thread Patrick O'Callaghan
On Thu, 2010-07-01 at 17:02 +0100, Frank Murphy wrote: > My mistake: > $ cd /proc |cat version Or just 'cat proc/version' poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: htt

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

2010-07-01 Thread Frank Murphy
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 (j...@localhost.localdomain)

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

2010-07-01 Thread JD
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 (j...@localhost.localdomain) (gcc version 4.4.4 20100503 (Red Hat 4.4.4-

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

2010-07-01 Thread Patrick O'Callaghan
On Thu, 2010-07-01 at 14:55 +0100, Frank Murphy wrote: > On 01/07/10 14:49, fred smith wrote: > > > > Can anyone suggest some resource that a PROGRAM (compiled C program) can > > examine while running to find out what platform it is runninng on ? > > > > cd /proc | cat version Huh? poc -- user

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

2010-07-01 Thread Jerry Feldman
On 07/01/2010 09:49 AM, fred smith wrote: > I asked recently about using /etc/redhat-release and got some useful answers. > My thanks to all who replied. > > Now a slight variant: > > Can anyone suggest some resource that a PROGRAM (compiled C program) can > examine while running to find out what p

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

2010-07-01 Thread Bruno Wolff III
On Thu, Jul 01, 2010 at 09:49:49 -0400, fred smith wrote: > > Can anyone suggest some resource that a PROGRAM (compiled C program) can > examine while running to find out what platform it is runninng on ? You could look at the source for uname and see what it does. > can anyone suggest any ot

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

2010-07-01 Thread Frank Murphy
On 01/07/10 14:49, fred smith wrote: > > Can anyone suggest some resource that a PROGRAM (compiled C program) can > examine while running to find out what platform it is runninng on ? > cd /proc | cat version -- Regards, Frank Murphy UTF_8 Encoded Friend of Fedora -- users mailing list users@l