Question: Write a shell script that works in vim that searches the home directory for all files with the .java extension. For each file, list the

Write a shell script that works in vim that searches the home directory for all files with the .java extension. For each file, list the number of lines in the file along with its full path. Use the find and wc commands (in combination with the for loop) Next use the sort and sed commands (inside the script) to filter the results to the ten longest java programs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!