Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!harpo!ihnp4!zehntel!hplabs!sri-unix!alt@Sri-Tsc.ARPA From: alt@Sri-Tsc.ARPA Newsgroups: net.unix-wizards Subject: Re: /usr/ucb/u - (nf) Message-ID: <12051@sri-arpa.UUCP> Date: Tue, 3-Apr-84 14:42:00 EST Article-I.D.: sri-arpa.12051 Posted: Tue Apr 3 14:42:00 1984 Date-Received: Tue, 10-Apr-84 07:35:43 EST Lines: 14 From: E. Howard Alt Actually, /usr/ucb/u is linked to /usr/ucb/users. The reason /usr/ucb/w checks for u as the first character in argv[0] is to see if the name is 'uptime' (too lazy to do a strcmp I guess). /usr/ucb/uptime is linked to /usr/ucb/w. u displays a list of users in alpha order, uptime dispalys the first line of w (number of users, load average, etc). This is how it is set up on the 4.1 and 2.9 systems that I have seen. I am pretty sure this is how 4.2 is set up. Howard.