Bash, unix
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)
Etc….
1. Assume they are separated by tabs, extract name and ip using one line of utilities.
E. G.
Alice (ip)
Joe (ip)
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
Expert Answer
Answer for the given Question:
Part 1: $who | sort
when this sort the who are logged in bash terminal
Part 2:
$ who | date ‘july’