Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!news.arc.nasa.gov!dftsrv!hq!sysp1!jpope From: jpope@hq.af.mil (i991x) Newsgroups: comp.unix.questions Subject: I'm learning UNIX and I have a simple question Summary: As I am new to UNIX, I shave a few easy questions. Message-ID: Date: 19 Jun 91 20:04:01 GMT Sender: news@hq.af.mil Lines: 14 I have been recently moved to a new job that requires me to learn UNIX. I have a moderate programming background and I have worked on DOS in the past. One of the things I am currently learning is "pipes" and "redirected output." In the UNIX that I use there is a command "who" which lists the users that are currently on the system (as well as which terminal, when they logged on, etc..). The problem is that they are listed one user per line. 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. If there is an easy way to do this, please let me know. If it entails a certain command, please give a brief explanation about it (again, I'm new to UNIX and I am not aware of plethora of commands at my disposal). Please E-mail to me (posting will also be acceptable, after all, beggars can't be choosers).