Question: In PYTHON: Navigate into data-shell/molecules and a) write command that counts the number of lines in each file and puts this in a file called
In PYTHON: Navigate into data-shell/molecules and a) write command that counts the number of lines in each file and puts this in a file called lines.txt. b) write a command that takes lines.txt sorts the files by size starting with the file with fewest lines and outputs to a new file: sorted.txt. c) Now rewrite a one-line command (pipe) that outputs (to screen) these two steps. d) Write a command that outputs (to screen) the name of third smallest file.
Step by Step Solution
There are 3 Steps involved in it
Lets break down the problem step by step to provide a clear understanding and solution for each part ... View full answer
Get step-by-step solutions from verified subject matter experts
