What command would produce a file named xmaslist using the contents of the list file, arranging the contents alphabetically and numbering each line?
A. fmt list > xmaslist
B. sort list | nl > xmaslist
C. ln list | sort | xmaslist
D. sort list | ln | xmaslist
Answer:B
What command would produce a file named xmaslist using the contents of the list file, arranging the contents alphabetically and numbering each line?
A. fmt list > xmaslist B. sort list | nl > xmaslist C. ln list | sort | xmaslist D. sort list | ln | xmaslist