Unix, Xenix and ODT General FAQ
This article is from a FAQ concerning SCO operating
systems. While some of the information may be applicable to any OS,
or any Unix or Linux OS, it may be specific to SCO Xenix, Open
There is lots of Linux, Mac OS X and general Unix info elsewhere on
this site: Search this site is the best
way to find anything.
This is an ancient post with no relevance to modern systems.
WARNING: Many of these commands have different options
under different versions of different operating systems, and not
all of them are available under all versions of Unix, Xenix, and
ODT. I've tried to note such differences but I'm sure many have
escaped my attention. Take the following with a grain of salt.
Unless noted otherwise, these entries should be applicable to
- Kernel Configuration: configure
-x | more (for Xenix, run this from /usr/sys/conf; for
Unix, run it from /etc/conf/cf.d). This lists the current
and default values for tunable kernel parameters. Under Unix,
prints information including BTLDs (Boot Time Loadable
- Software Installed: /usr/bin/swconfig
-p and /usr/bin/swconfig -a (both for Unix) print
various information on installed software. You can look at the
permissions lists in /etc/perms/* but you cannot tell from
here which parts are installed; use custom+ADM">custom
for that. Use /usr/bin/displaypkg
to display software installed using installpkg.
Note that swconfig is not a terribly accurate guide.
- Hardware configuration: /etc/hwconfig
-h shows most of the installed hardware but not all of it;
generally, things like multiport cards don't show up here. Use
/etc/hwconfig -hc on Unix 3.2v4.x or later and on Xenix
- System name, version, etc.: uname
-X (Unix and Xenix 2.3.4) or uname -a (Xenix 2.3.3
- Printer configuration: lpstat
Tom Melvin notes:
A new program with 5.0.6 is
Got something to add? Send me email.
There are two ways to write error-free programs; only the third one works. (Alan Perlis)