Question: Linux script question: Write a script to output all of the file names that have at least 2 hard links. Use the stat command similar
Linux script question: Write a script to output all of the file names that have at least 2 hard links. Use the stat command similar to the script in chapter 10.F.
note: Chapter 10.F is the picture below:

f. Using the tool of your choice (egrep, awk, a shell script), provide an instruction using stat to obtain all files in /etc that have at least 7 hard links, stat -c "%n %h" gives you the name and hard links. Which files were found? Include in your answers the instruction or script that you wrote
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
