If you've upgraded to macOS Mojave or later, you can use the Screenshot app to take all types of screenshots, or make video recordings of your screen. You can open Screenshot by pressing Shift-Command (⌘)-5, or use Spotlight to find and open the app.
Restart it, and then press and hold the Command+S keys while it boots. You’ll enter single-user mode, which will provide you with a text-mode terminal. Type the following command into the terminal and press Enter to start a file system check: /sbin/fsck -fy. The command will run through several phases of checks.
- We can find mac address (physical address) of a computer using the command ‘getmac‘. This can be used to get mac address for remote computers also. This can be used to.
- Command key: Command (or Cmd) Like the Control key on Windows/PC. Formerly known as the Apple key. Option key: Option (like Alt on Windows/PC) Shift key: Shift: Control key: Control (Control-click = Right-click) Tab key: Tab: Return key: Return: Enter key: Enter (on Number Pad, or fn-Return on compact keyboards) Eject key: Eject: Escape key: Escape: Page Up key.
Other keyboard shortcuts, such as Shift-Command-3 and Shift-Command-4, continue to work in all versions of macOS.
Capture the entire screen
Press Shift-Command-5 or Shift-Command-3 as described below.
In macOS Mojave or later
- Press Shift-Command-5 on your keyboard to see the onscreen capture controls:
- Click Capture Entire Screen . The pointer changes to a camera .
- Click anywhere on any screen to capture the screen of that display, or click Capture to capture the screen of every display.
- A thumbnail of the screenshot briefly appears in the corner of your screen. Interact with the thumbnail to edit the screenshot, move it, or take other actions. Or wait for the screenshot to appear on your desktop.
In all macOS versions
- Press Shift-Command-3 to capture the screen of every display.
- Find the screenshot on your desktop.
Capture a window
Press Shift-Command-5 or Shift-Command-4 as described below. Sims 2 for mac. Auto cad viewer for mac.
In macOS Mojave or later
- Press Shift-Command-5 to see the onscreen capture controls.
- Click Capture Selected Window . Your pointer changes to a camera .
- Click a window to capture that window.
To exclude the window's shadow from the screenshot, press and hold the Option key while you click. - A thumbnail of the screenshot briefly appears in the corner of your screen. Interact with the thumbnail to edit the screenshot, move it, or take other actions. Or wait for the screenshot to appear on your desktop.
In all macOS versions
- Press Shift-Command-4.
- Press the Space bar. The pointer changes to a camera .
- Click a window to capture that window.
To exclude the window's shadow from the screenshot, press and hold the Option key while you click. - Find the screenshot on your desktop.
Capture a selected portion of the screen
Java plugin for mac. Press Shift-Command-5 or Shift-Command-4 as described below.
In macOS Mojave or later
- Press Shift-Command-5 to see the onscreen capture controls.
- Click Capture Selected Portion .
- Drag to select an area of the screen to capture. To move the entire selection, drag from within the selection.
- Click Capture.
- A thumbnail of the screenshot briefly appears in the corner of your screen. Interact with the thumbnail to edit the screenshot, move it, or take other actions. Or wait for the screenshot to appear on your desktop.
In all macOS versions
- Press Shift-Command-4.
- Drag to select the area of the screen to capture. To move the entire selection, press and hold Space bar while dragging.
- After you release your mouse or trackpad button, find the screenshot on your desktop.
Capture a menu
Press Shift-Command-5 or Shift-Command-4 as described below.
In macOS Mojave or later
- Click the menu to reveal its contents.
- Capture the menu using either of these methods, which use Shift-Command-5:
- Capture a window (the menu is treated like a window).
- Capture a selected portion of the screen that includes the menu.
In all macOS versions
- Click the menu to reveal its contents.
- Press Shift-Command-4.
- Drag to select the area of the menu to capture, then release your mouse or trackpad button to capture that area.
- Or press Space bar to change the pointer to a camera , then click the menu to capture it.
- Find the screenshot on your desktop.
Capture the Touch Bar
If you have a Mac with a Touch Bar and macOS Sierra 10.12.2 or later, press Shift-Command-6 to capture what is currently displayed on the Touch Bar. Then find the screenshot on your desktop.
You can also customize the Control Strip region of your Touch Bar to include a Screenshot button.
Use the screenshot thumbnail
When you take a screenshotin macOS Mojave or later, a thumbnail of the screenshot appears briefly in the lower-right corner of your screen.
- Take no action or swipe the thumbnail to the right: The screenshot is automatically saved to your chosen save location, which by default is the desktop.
- Control-click the thumbnail to choose more actions, such as change the default save location, open the screenshot in an app, or delete the screenshot without saving it.
- Drag the thumbnail to move the screenshot to another location, such as to a document, an email, a Finder window, or the Trash.
- Click the thumbnail to open the screenshot. You can then use the markup tools in the toolbar to crop, rotate, annotate, and take other editing actions. Or click the share button to share the screenshot.
Clicking the thumbnail opens it in editing view. Hover your pointer over each button in the toolbar to see its function.
If you don't want the thumbnail to appear, click Options in the onscreen controls, then use the ”Show Floating Thumbnail” option to change the setting.
Learn more
- Screenshot controls in macOS Mojave or later are provided by the Screenshot app, which is in the Utilities folder of your Applications folder. This app replaces the Grab app from earlier versions of macOS.
- By default, screenshots are saved with the name ”Screen Shot date at time.png”.
- To cancel taking a screenshot, press the Esc (Escape) key before clicking to capture.
- To store the screenshot in the Clipboard instead of saving it, press and hold the Control key while you click to capture. You can then paste the screenshot into a document, message, or other location. Using Universal Clipboard, you can even paste it on another Apple device.
- You can open screenshots with Preview, Safari, or other apps that can edit or view images. Preview can export to a different format, such as JPEG, PDF, or TIFF.
- Some apps, such as DVD Player, might not let you take screenshots of their windows.
If you’re working in Terminal on your Mac, you need to know the most important UNIX commands: those that work with directories, those that work with files, and miscellaneous but commonly used commands.
Mac Commands Cheat Sheet
Folders are called directories in UNIX. Commands that refer to filenames, as most do, assume that you’re talking about files in the working directory. When you open the Terminal window, the working directory is set to your home directory, abbreviated ~. Bash shows you the current working directory and your username to the left of its prompt. The following table lists common directory-related commands.
Command | What It Does |
---|---|
ls | Lists the names of the files in the working directory. For more complete information, use ls –alF (. |
cd directoryname | Changes the working directory to the one you named. |
cd . | Brings you up one directory level. |
cd | Returns you to your home directory. |
pwd | Displays the pathname of the current directory. |
mkdir newdirectoryname | Makes a new directory. |
rmdir directoryname | Removes (deletes) an empty directory. |
As in Windows, you can redirect the output of a command to a text file. So if you want a record of the files in a folder, type cd, followed by a space, drag the folder’s icon to the Terminal window, and press Return. Type ls > mydirectorylist.txt and press Return again. A file named mydirectorylist.txt will appear in the folder you chose. You can open the file in TextEdit to see a list of the files in that directory.
This table lists commands commonly used when working with files in the Terminal window.
Command | What It Does |
---|---|
cp filename1 filename2 | Copies a file. |
chmod | Changes permissions for access to a file. Study the man page before using this one. |
diff | Compares two files line by line (assumes text). |
more filename | Displays a text file one page at a time. Press the spacebar to see the next page; press Q to quit. The man command works through more. |
mv filename1 filename2 | Moves a file or changes its name. |
rm filename | Removes (deletes) a file. |
Shortcut Commands For Mac
This last table explains other handy commands that anyone getting started in Terminal will likely want to know.
Key Commands For Mac
Command | What It Does |
---|---|
Control+C | Terminates most operations. |
date | Displays the current date and time. |
echo | Repeats whatever appears after the command (after expansion). |
help | Displays a partial list of bash commands. |
history | Displays the last commands you typed. You can redo a command by typing an exclamation point (!) followed immediately (no space) by the number of that command in the history list. To repeat the last command, type !!. To repeat the last filename, type !*. |
pico | A simple UNIX text editor. |
ps | Displays a list of running processes. |
sudo | Lets you carry out commands for which the account you are using lacks authority. You will be asked for an administrator’s password. |
Keyboard Commands For Mac
When you’re working in Terminal, you don’t have a Trash Can to which deleted files are moved pending ultimate disposal. Delete it, and it’s gone. Substitute for milk in mac n cheese. In general, UNIX has no Undo function.