I have a binary file. (backup) My task is to list the number of names in the file using wc and piping. I have researched various ways of doing so but none of which provide the desired output. Following a numbered output, I am to list the first 5 and last 5 of the names. ls -l of file: -rw-r--r-- . 1 root root 3252373504 Jan 21 22:04 /mnt/tape/backup Currently I have the numbered output: strings /mnt/tape/backup | wc -w 10123456 The example for the first 5 names is: lib lib64 usr/lib64/libgcc_s-4.8.5-20150702.so.1 usr/lib64/libgcc_s.so.1 I see the result is a list of files that are backed up. However, I have not determined the proper command to specifically display these path names as the backup. Thank you.