Search a file with whereis and find — The Cheat Sheet Linux

Welcome to the Cheat Sheet Linux. Today, let’s see how to search the file with whereis and find.


whereis <OPTIONS> <FILENAME> displays the command name, the path in PATH, and associated documentation page. whereis displays more information than which.

The arguments are :

  • -b: searches only executables,
  • -m: searches only man pages,
  • -s: search only source files,




The Open DevOps Academy shares practices, experiences, and ideas about many domains of DevOps.

Recommended from Medium

System as mouth class land pull think.

Chaining Kiam Certificates using Cert-manager

Introduction to CSS

User Authentication with Keycloak

keycloak authentication

Google GKE and SQL with terraform

Configuring Bazel Build With GNU C/C++ on Windows

Bundler for iOS Apps

Working with Mercurial — GSoC’17

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bruno Delb

Bruno Delb

Blockchains, DevOps, Agile Coaching, development, testing, Cloud, Management 3.0, ITIL. It defines me.

More from Medium

Deploy Apache Web Server in a Docker Container for Debian-like systems

Understanding sudo (Linux tips)

Linux: How to ping multiple hosts directly or over ssh proxy

Linux Troubleshoot Zombie Processes