[NTLUG:Discuss] Any way to detect a distro?

Thomas Cameron thomas.cameron at camerontech.com
Wed Aug 24 08:07:06 CDT 2005


On Sat, 2005-08-20 at 18:08 -0500, Robert Thompson wrote:
> > ls /etc/ | egrep "release|version"
> 
> Or without a pipe:
> 
> find /etc -name "*release" -or -name "*version"

LOL - yeah, but mine's less keystrokes (and I'm a lazy SOB).  :-)

TC





More information about the Discuss mailing list