Hey Unix/Linux guys/gals, how would I go about taking the output of the "who" command, writing it to a file while reordering the output and ommiting some things? Normally entering "who" would give the following output:
jackie pts/25 Mar 02 09:16 (adsl-71-134-158-92.dsl.pltn38.pacbell.net)
But I would like to take that output, write it to a file, and have it look like this:
Mar 02 09:16 pts/25 jackie
I know the ">" flag can be used to send output to a file, and maybe some variation of the "sort" "cut" "paste" commands can be used.