The Finder is the first thing that you see when your Mac finishes starting up. It opens automatically and stays open as you use other apps. It includes the Finder menu bar at the top of the screen and the desktop below that. It uses windows and icons to show you the contents of your Mac, iCloud Drive, and other storage devices. It's called the Finder because it helps you to find and organize your files.
To find the hosts file, open the Finder, which you can access by clicking on the desktop, the smiley face finder in the lower left of your screen, or by pressing command + spacebar + Finder. Open the document in Preview (if it isn't your default option, you'll have to right-click on the document, then choose 'Open with' followed by 'Preview'). Open your text-based.
Change how your files are displayed
To change how files are displayed in Finder windows, use the View menu in the menu bar, or the row of buttons at the top of the Finder window. You can view files as icons , in a list , in columns , or in a gallery . And for each view, the View menu provides options to change how items are sorted and arranged, such as by kind, date, or size. Learn more about customizing views.
Gallery View, showing the sidebar on the left and the Preview pane on the right.
When you view files in a gallery, you can browse your files visually using large previews, so it's easy to identify images, videos, and all kinds of documents. Gallery View even lets you play videos and scroll through multipage documents. Earlier versions of macOS have a similar but less powerful gallery view called Cover Flow .
- EasyFind 5.0.1 - File, folder, and text contents search tool. Download the latest versions of the best Mac apps at safe and trusted MacUpdate.
- One is to use text clippings. These are snippets of text that look like files, but can’t be edited and behave differently. To create a text clipping, select text in any document and drag it to the desktop. You can then drag it onto any document in any application that accepts text and drop it at the point where you want to paste it.
The sidebar in Finder windows contains shortcuts to AirDrop, commonly used folders, iCloud Drive, devices such your hard drives, and more. Like items in the Dock, items in the sidebar open with just one click.
To change the items in your sidebar, choose Finder > Preferences from the Finder menu bar, then click Sidebar at the top of the preferences window. You can also drag files into or out of the sidebar. Learn more about customizing the sidebar.
Search for files
To search with Spotlight, click the magnifying glass in the menu bar, or press Command–Space bar. Spotlight is similar to Quick Search on iPhone or iPad. Learn more about Spotlight.
To search from a Finder window, use the search field in the corner of the window:
When you select a search result, its location appears at the bottom of the window. To get to this view from Spotlight, choose “Search in Finder” or “Show all in Finder” from the bottom of the Spotlight search results.
Search For Text In Files Mac Terminal
In both Spotlight and Finder, you can use advanced searches to narrow your search results. You can also use tags to organize and find files.
How To Search For Text In Files Mac Os

Delete files
To move a file to the Trash, drag the file to the Trash in the Dock. Or select one or more files and choose File > Move To Trash (Command-Delete).
To remove a file from the Trash, click the Trash to open it, then drag the file out of the Trash. Or select the file and choose File > Put Back.
To delete the files in the Trash, choose File > Empty Trash. The storage space used by those files then becomes available for other files. In macOS Sierra, you can set up your Mac to empty the trash automatically.
