What one line command accomplishes the following in Ubuntu - Linux: The output of who is passed to a utility that both writes to its output, which is connected to sort, and at the same time, writes a copy of its input to a new file named who.out. The output from sort is passed to a utility that both writes to its output, connected to the input of a process running wc, and writes to a new file, sort.out. Finally, the wc utility outputs the number of lines, words and characters in the sorted who to the screen.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter11: Compression, System Backup, And Software Installation
Section: Chapter Questions
Problem 3DE
icon
Related questions
Question

What one line command accomplishes the following in Ubuntu - Linux:

The output of who is passed to a utility that both writes to its output, which is connected to sort, and at the same time, writes a copy of its input to a new file named who.out. The output from sort is passed to a utility that both writes to its output, connected to the input of a process running wc, and writes to a new file, sort.out. Finally, the wc utility outputs the number of lines, words and characters in the sorted who to the screen.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L