I have to use the  who command to display who's online, then use pipes to display the first and last 2 users online. the only thing I know how to do is something like:who | head -5 | tail -2 . That doesn't work, though.I'm new to linux and I don't know what else to do because we haven't learned anything other than basic pipe usage.
Using pipes to list the first two and last two users on the system?
pipe;tail;head;who