Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A quick Google search did not clear up my issue. I need to hide a directory on Centos 6. I want to do that because I'm running the command tree to print the tree directory structure, but I don't want see a particular directory in my tree.

share|improve this question
up vote 1 down vote accepted

Tree can be told to ignore a folder like so

share|improve this answer
You can also use wildcards here e.g. ./tmp/ – KJ4IPS Aug 29 '13 at 16:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.