asked 26.7k views
5 votes
Find / -name '*' will ________.

1) List all files and directories recursively starting from /
2) List a file named * in /
3) List all files in / directory

asked
User Lucelia
by
7.9k points

1 Answer

4 votes

Final answer:

The find command 'find / -name '*' traverses the entire file system from the root directory, listing all files and directories recursively.

Step-by-step explanation:

The command find / -name '*' is used in a Unix-like operating system to list all files and directories recursively starting from /, which is the root directory. The asterisk (*) is a wildcard character that matches all file names. As a result, this command will traverse the entire directory tree starting from the root and list the paths for all accessible files and directories.

answered
User Tennisgent
by
8.7k points