How to Test Mac RAM for Errors with Apple Diagnostics

Illustration for How to Test Mac RAM for Errors with Apple Diagnostics

Quick Answer To test your Mac’s RAM, shut down the Mac, disconnect unnecessary accessories, and start Apple Diagnostics: Mac with Apple silicon: Press and hold the power button until startup options appear, then press and hold Command-D. Intel-based Mac: Turn it on and immediately press and hold D. If that does not work, try Option-D. … Read more

How to Prevent a USB Device from Waking Your Mac from Sleep

Illustration for How to Prevent a USB Device from Waking Your Mac from Sleep

A USB device that repeatedly wakes your Mac can drain the battery, interrupt downloads or backups, and leave your computer running when you expect it to be asleep. The most reliable solution is to disconnect the device, connect it through a powered hub or dock, or change the device’s behavior if its software provides that … Read more

How to Fix a Mac That Wakes When an External Display Is Connected

Illustration for How to Fix a Mac That Wakes When an External Display Is Connected

A MacBook may wake automatically when you connect an external display, even if the Mac is asleep or its lid is closed. This behavior is usually caused by the display, dock, adapter, or a power-management setting sending a wake signal through the connection. To stop it, disconnect the display and accessories, prevent network-based wake events, … Read more

How to Rebuild the Spotlight Index on a Mac Without Losing Files

Illustration for How to Rebuild the Spotlight Index on a Mac Without Losing Files

Spotlight is the search system built into macOS. It helps you find documents, folders, apps, messages, settings, and other information. If Spotlight shows incomplete results, misses files, or behaves unusually slowly, rebuilding its index can often fix the problem. Rebuilding the index does not delete your files. It removes Spotlight’s searchable catalog and creates a … Read more

How to Fix Spotlight Not Finding File Names on a Mac

Illustration for How to Fix Spotlight Not Finding File Names on a Mac

Spotlight usually finds files by name within seconds, but it can stop returning results when indexing is paused, a folder is excluded from search, an external drive is unavailable, or the index needs to be rebuilt. Start by checking the file’s location and Spotlight’s settings, then rebuild the index only if the simpler fixes do … Read more

How to Stop Spotlight from Indexing a Specific Folder on a Mac

Illustration for How to Stop Spotlight from Indexing a Specific Folder on a Mac

Quick Answer To stop Spotlight from indexing a specific folder: Open System Settings. Select Spotlight in the sidebar. Click Spotlight Privacy. Drag the folder into the list, or click the + button and choose it. Close the settings window. Spotlight will stop searching that folder and its contents. To allow Spotlight to index it again, … Read more

How to Reduce mdworker CPU Usage During Spotlight Indexing on a Mac

Illustration for How to Reduce mdworker CPU Usage During Spotlight Indexing on a Mac

When mdworker uses a lot of CPU, Spotlight is usually processing files so your Mac can search them quickly. The safest way to reduce the load is to let indexing finish while temporarily reducing other demanding activity, keep your Mac connected to power, and remove unnecessary locations from Spotlight indexing. If indexing appears stuck, you … Read more

How to Find Files by Name, Type, or Size Using find on a Mac

Illustration for How to Find Files by Name, Type, or Size Using find on a Mac

Quick Answer The find command searches folders recursively, meaning it checks a folder and the folders inside it. Open Terminal, then use a command such as: find ~/Documents -type f -name "report.pdf" This searches your Documents folder for a file named report.pdf. You can also search by file type or size: find ~/Downloads -type f … Read more

How to Search Inside Files with grep on a Mac

Illustration for mac-guides/storage-management

Quick Answer To manage storage on your Mac, open System Settings > General > Storage. Review the largest categories, remove files you no longer need, empty the Trash, and uninstall apps you do not use. Keep enough free space for macOS and your everyday work rather than deleting system files at random. For a more … Read more