I use who to check users currently logged on to the system. the format is as follows...
milade.makram pts/15 2007-12-07 09:54 (172.16.1.73)
say I want to cut into this and display it as follows (NB the tty and time headers):
so effectively it would put the second word first, then the 1st, thus making the users full name in the right order. Then it would print the processes under their respective headings just below. Any help would be great!!