QuestionQ3

Basic Unix Skills

Which command locates every directory inside the current user’s home directory?

Explanation

In a shell, ~ expands to the current user’s home directory. The find predicate -type d limits the results to directories.

Community Discussion

No comments yet. Be the first to start the discussion!