Question: Using the man pages for ls, sort, and head as references, write a one-line script to list the details of the five largest files in

Using the man pages for "ls", "sort", and "head" as references, write a one-line script to list the details of the five largest files in the current directory. NOTE: You can NOT use the "S" option of "Is" command. Call the script "tp5.sh. Thus, you should be able to run your "tp5.sh" script to get an output similar to the following: and get a result like -rwxr-xr-x 1 root root 17935 May 9 2005 biggest-file drwxr-xr-x 2 root root 4096 Jan 22 15:40 tie-for-2a drwxr-xr-x 2 root root 4096 Dec 10 11:13 tie-for-2b drwxr-xr-x 2 root root 4096 Dec 10 11:13 tie-for-20 -rwxr-xr-x 1 root root 2371 Oct 31 2004 5th-largest
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
