Answer:
Following is the code;
find / var / -user root | grep -E '(\ / (. *? \ /) +)'> s8
Explanation:
This is a pipelining exercise, so I did it
I am using grep -E with a regex that should only extract the path from the found files and write it to a file called s8.