Navigating between files, folders, and apps in macOS isn’t particularly tricky, but knowing the right tricks can improve efficiency and make navigation effortless.
As discussed in the previous section, Finder is the component of macOS that provides the File management functions within the OS. You can use Finder to find and browse files present inside your Mac.
One way to view the root directory is to launch the Finder app from the Dock, click on the Go Pane at the top, select Computer & click on Storage.
Another way to open the root directory is to launch the Finder app from Dock; enter the keyboard shortcut Command + Shift + G, type /, and hit Go.
You may also go up and down directories in Finder using the Command with the up and down arrows.
Just like any other OS, you may copy/paste items in Finder with the right-click menu or the Command + C and Command + V keyboard shortcuts:
You can also move items by dragging them from one folder to another or even duplicate any item by holding the option key while dragging them.
MacOS does not offer a direct GUI feature to cut and paste files & folders using Finder. But you can use the keyboard shortcut Command + Option + V to move the copied file directly.
Another way to move files in macOS is using the mv command in the terminal, which must be used with caution as it is an irreversible command. To do so, open a terminal from Dock & run the following command to move the Test folder from the Users Document directory into the Users Desktop directory.
Note: While macOS does not allow "Cut/Paste" of files to avoid potential file loss, it does allow "Cut/Paste" of text through the right-click menu or with the "Command + X" shortcut.
There are lots of hidden files and folders present on macOS that prevent users from accidentally deleting files used by the operating system. However, there are multiple ways to view hidden files on a Mac using the GUI and terminal.
To view hidden files and folders using the GUI:
You may also change the default view of Finder to show hidden files, as follows:
The Preview Pane within Finder allows us to glance at what files and images look like before opening them. It provides instant previews of what’s in each file you highlight with additional information about the file such as Creation Date & Time, Last Modified Date & Time, Last Opened Date & Time, etc.
Enable Preview Pane inside Finder to look at the file preview.
Now, you can click on any file and see the file's contents on the right side with additional information regarding the file.
Spotlight is a system-wide desktop search feature of Apple's macOS and iOS operating systems, as discussed in previous sections. Spotlight can help you quickly find items present on your Mac.
Let's try opening a Dictionary in macOS using Spotlight.
Moving and switching from one app to another can be tedious, especially if there is a frequent need to split apps every few seconds. To improve efficiency while working on multiple apps, macOS provides features like Mission Control & Split View.
MacOS provides a feature named Mission Control, which offers a bird's-eye view of all open windows, desktop spaces, and apps, making switching between them easy.
There are multiple ways to open the bird's-eye view on your Mac.
By using Split View, you can split your Mac screen between two apps. It would automatically resize the screen without manually moving and resizing windows. Split View only works if you already have two or more apps running in the background.
To use Split View with apps, hover the mouse pointer over the full-screen button (Green Colored) on the top-left, and you will be presented with three options to select from:
Choose Tile Window to Left of Screen from the menu, and the window will fill that side of the screen. Now hover the mouse pointer onto the next side of the screen and select another app to begin using both apps in split windows side by side.
Now that we are system navigation pros, the next section will give us insight into the host's filesystem structure.
Download the above file and double click on it to unzip it. The extracted folder may appear empty, but in reality it has a hidden file with the flag. Can you find the flag?