# cat /etc/*{version,release} cat: /etc/*version: No such file or directory Red Hat Linux release 6.2 (Zoot)
i've not seen that syntax before. i shall now have to go and 'man cat' to find out what it is I just did. :-)
thanks.. ..S.
On Wednesday, March 12, 2003, at 12:46 PM, Jeff Waugh wrote:
<quote who="Stewart">
This may seem like a really daft question, but, how do you tell what
distro a box is? I'm working on a server I set up a few years back but I
can't remember whether it's mandrake or redhat, let alone work out which
version it is. I had a quick look in /proc/sys/ but can only find kernel
type info. any ideas?
See if the following returns anything useful...
cat /etc/*{version,release}
- Jeff
--
"If the Internet really wanted to become sentient, it probably could."
- Raph Levien
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug