Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!rutgers!ucla-cs!zen!ucbvax!hplabs!motsj1!mcdchg!heiby From: heiby@mcdchg.UUCP (Ron Heiby) Newsgroups: comp.unix.questions Subject: Re: Command to obtain current run level? Message-ID: <1268@mcdchg.UUCP> Date: Wed, 5-Aug-87 17:44:57 EDT Article-I.D.: mcdchg.1268 Posted: Wed Aug 5 17:44:57 1987 Date-Received: Sat, 8-Aug-87 10:02:13 EDT References: <241@acich.UUCP> Reply-To: heiby@mcdchg.UUCP (Ron Heiby) Organization: Motorola Microcomputer, Schaumburg, IL Lines: 7 Check out the man page for the "who" command. With the "-r" option on my system, we get: . run-level 2 Aug 5 13:56 2 0 S It is a fairly simple matter to pick off the particular field of interest. -- Ron Heiby, heiby@mcdchg.UUCP Moderator: comp.newprod & comp.unix "We are a gentle, loving people; And we are singing, singing for our still .