TLDR
Enter a command. For example: readlink, opensnoop, mdls, photolibraryd.

mdfind

 
List files matching a given query. More information: https://ss64.com/osx/mdfind.html.
 
  • Find a file by its name:
     
    mdfind -name {{file}}
     
  • Find a file by its content:
     
    mdfind "{{query}}"
     
  • Find a file containing a string, in a given directory:
     
    mdfind -onlyin {{directory}} "{{query}}"

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.