I have been tackling this question for sometime and i am getting no success whatsoever. the question is to create a script called 'userprocesses' that allows me to find current users logged on and also display what processes they are currently using.
So far i have used this following code:
$ who -a (which display the usenames currenlt online with options)
$ who -s (to list the names, line and time fields)
but i feel that i am going wrong because i am entering commands and not creating a script.
can u help??