QuestionQ3Verified/Basic Unix SkillsCopy linkReport a problemAsk AstroTutorSave questionWhich command locates every directory inside the current user’s home directory?Afind ~ -type dBfind . -dirCfind / -d | homeDfind -uid mynameEfind -d homeShow AnswerAnswerExplanationIn a shell, ~ expands to the current user’s home directory. The find predicate -type d limits the results to directories.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion