Subject: how do I use "arch" to determine which processor I am on

From: Anubis <anubis@gehenna.com>
news:<o5B4k.23083$tn2.18058@fe07.news.easynews.com>



Hi All:


I need to write a script file that will allow me to determine which
processor architecture I am on before I take action 1 or action 2

the "arch" command under linux (returns "i686" and "ppc") can do this
but how do I evaluate its return/set it up?

Any pointers to writing bash scripts would be appreciated as well
Thanks



Answers:

go Re: how do I use "arch" to determine which processor I am on




up next back

Usenet Replayer Web-based Usenet tools, including news resources archive, news server search, posting and retrieving of Usenet messages, Dialer protection, and forgery cancellations. Free. comp.os.linux FAQ Sources