Who utility displays , use one line of utilities connected with pipes
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: Who utility displays , use one line of utilities connected with pipes…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Alice pts/12 Aug 1 21:50 (ip)
Joe pts/13 July 10 1:00 (ip)
1. Assume they are separated by tabs, extract name and ip using one line of utilities.
2. Sort list based on month
3. Currently logged on from july
4. Logged on from July, sorted based on login date, then displays top 6 people from list
5. Do 4. Without pipes
Answer for the given Question:
Part 1: $who | sort
when this sort the who are logged in bash terminal
$ who | date ‘july’