Newsgroups: comp.unix.questions Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!irie.ais.org!mjo From: mjo@irie.ais.org (Mike O'Connor) Subject: Re: I'm learning UNIX and I have a simple question Message-ID: Date: Thu, 20 Jun 91 08:57:06 GMT Organization: Artificial Intelligence Society References: Reply-To: Mike O'Connor Lines: 18 In article jpope@hq.af.mil (i991x) writes: :I would like to strip off the first field (the id-name) and output to the :screen four columns (four users per line instead of one) without the other :information about where and when they logged in. The "users" command sounds like what you'd need. Not sure if it's found in all Unixes, or a commad found in the BSD Unixes I generally use. It outputs the usernames all on one line, but it's entirely possible to format the output any ol' way you want with tools like cut, tr, awk/sed/perl, etc. ==== Mike O'Connor (mjo@ais.org)