This page looks best with JavaScript enabled

Using the find command Linux Terminal

 ·  ☕ 1 min read  ·  ✍️ Chris Titus

Here is the syntax for using the find command Linux terminal. The following commands are great to have in your back pocket when looking for specific files or directories.

How to find a file from the root directory and check the entire system:

find / -name filename.ext
See directory structure without files (requires tree use yum or apt-get to install)

tree -d /var/www/
Note: if you don’t include the -d it will list ALL files and folders

The two commands I use almost daily as they are fantastic for finding files or just seeing how a programs directories are structured.

Chris Titus Tech


Exclusive Content

  • Members Section (CC Only)
    • Digital Downloads with Guides and Pre-Built Images
    • Monthly Members Only Video
    • $5 Per Month (100% of Proceeds goes to Chris Titus Tech)
  • YouTube Chris Titus Tech Membership (All Payments Accepted)
    • Monthly Members Only Video
    • YouTube Emojis for Comments and Live Chat
    • YouTube Badges that changes based on membership time for comments and chat.
    • All YouTube comments are highlighted when I review comments daily.
    • $4.99 Per Month (70% of the Proceeds goes to Chris Titus Tech)

Chris Titus
Chris Titus
Tech Content Creator