Terminals For Mac Os X



These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.

Soft reset terminal emulator state. Hard reset terminal emulator state. Hold down the Command key and double-click the URL. Add the complete path to a file. Drag the file from the Finder into the Terminal window. Export selected text as. The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles,. ITerm2 lets you slice up a single window into multiple panes, each with its own independent. Mac OS X’s Terminal accepts this sequence as well. ^is the ASCII ESC character, and ^G is the ASCII BEL character. (The BEL character rings the Terminal bell, but in this context, it terminates an escape sequence.) The escape sequences described here are ANSI escape sequences. ANSI escape sequences are used to manipulate a Terminal window.

Download macOS

Find the appropriate download link in the upgrade instructions for each macOS version:

macOS Catalina, macOS Mojave, ormacOS High Sierra
Installers for each of these macOS versions download directly to your Applications folder as an app named Install macOS Catalina, Install macOS Mojave, or Install macOS High Sierra. If the installer opens after downloading, quit it without continuing installation. Important: To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.

OS X El Capitan
El Capitan downloads as a disk image. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.

Terminals For Mac Os X

Use the 'createinstallmedia' command in Terminal

  1. Connect the USB flash drive or other volume that you're using for the bootable installer. Make sure that it has at least 12GB of available storage and is formatted as Mac OS Extended.
  2. Open Terminal, which is in the Utilities folder of your Applications folder.
  3. Type or paste one of the following commands in Terminal. These assume that the installer is still in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace MyVolume in these commands with the name of your volume.
    Catalina:*
    Mojave:*

    High Sierra:*
    El Capitan:
  4. Press Return after typing the command.
  5. When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
  6. When prompted, type Y to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the bootable installer is created.
  7. When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Catalina. You can now quit Terminal and eject the volume.

* If your Mac is using macOS Sierra or earlier, include the --applicationpath argument, similar to the way this argument is used in the command for El Capitan.

Use the bootable installer

After creating the bootable installer, follow these steps to use it:

  1. Plug the bootable installer into a compatible Mac.
  2. Use Startup Manager or Startup Disk preferences to select the bootable installer as the startup disk, then start up from it. Your Mac will start up to macOS Recovery.
    Learn about selecting a startup disk, including what to do if your Mac doesn't start up from it.
  3. Choose your language, if prompted.
  4. A bootable installer doesn't download macOS from the Internet, but it does require the Internet to get information specific to your Mac model, such as firmware updates. If you need to connect to a Wi-Fi network, use the Wi-Fi menu in the menu bar.
  5. Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.

Learn more

Terminals For Mac Os X 10.13

For more information about the createinstallmedia command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter this path in Terminal:

Catalina:

Mojave:

Mac os terminal install command

High Sierra:

El Capitan:

Best Terminal For Mac Os X

Terminal User Guide

Use these shortcuts to save time when using Terminal.

Work with Terminal windows and tabs

Action

Shortcut

New window

Command-N

New window with same command

Control-Command-N

New tab

Command-T

New tab with same command

Control-Command-T

Show or hide tab bar

Shift-Command-T

Show all tabs or exit tab overview

Shift-Command-Backslash ()

New command

Shift-Command-N

New remote connection

Shift-Command-K

Show or hide Inspector

Command-I

Edit title

Shift-Command-I

Edit background color

Option-Command-I

Make fonts bigger

Command-Plus (+)

Make fonts smaller

Command-Minus (–)

Next window

Command-Grave Accent (`)

Previous window

Command-Shift-Tilde (~)

Next Tab

Control-Tab

Previous Tab

Control-Shift-Tab

Split window into two panes

Command-D

Close split pane

Shift-Command-D

Close tab

Command-W

Close window

Shift-Command-W

Close other tabs

Option-Command-W

Close all

Option-Shift-Command-W

Scroll to top

Command-Home

Scroll to bottom

Command-End

Page up

Command-Page Up

Page down

Command-Page Down

Line up

Option-Command-Page Up

Line down

Option-Command-Page Down

Edit a command line

Action

Shortcut

Reposition the insertion point

Press and hold the Option key while moving the pointer to a new insertion point.

Move the insertion point to the beginning of the line

Control-A

Move the insertion point to the end of the line

Control-E

Move the insertion point forward one character

Right Arrow

Move the insertion point backward one character

Left Arrow

Move the insertion point forward one word

Option-Right Arrow

Move the insertion point backward one word

Option-Left Arrow

Delete to the beginning of the line

Control-U

Delete to the end of the line

Control-K

Delete forward to the end of the word

Option-D (available when Use Option as Meta key is selected)

Delete backward to the beginning of the word

Control-W

Delete one character

Delete

Forward-delete one character

Forward Delete (or use Fn-Delete)

Transpose two characters

Control-T

Select and find text in a Terminal window

Action

Shortcut

Select a complete file path

Press and hold the Shift and Command keys and double-click the path

Select a complete line of text

Triple-click the line

Select a word

Double-click the word

Select a URL

Press and hold the Shift and Command keys and double-click the URL

Select a rectangular block

Press and hold the Option key and drag to select text

Cut

Command-X

Copy

Command-C

Copy without background color

Control-Shift-Command-C

Copy plain text

Option-Shift-Command-C

Paste

Command-V

Paste the selection

Shift-Command-V

Paste escaped text

Control-Command-V

Paste escaped selection

Control-Shift-Command-V

Find

Command-F

Find next

Command-G

Find previous

Command-Shift-G

Find using the selected text

Command-E

Jump to the selected text

Command-J

Select all

Command-A

Open the character viewer

Control-Command-Space

Terminals

Work with marks and bookmarks

Commands

Terminals For Mac Os X 10.7

Action

Shortcut

Mark

Command-U

Mark as bookmark

Option-Command-U

Unmark

Shift-Command-U

Mark line and send return

Command-Return

Send return without marking

Shift-Command-Return

Insert bookmark

Shift-Command-M

Insert bookmark with name

Option-Shift-Command-M

Jump to previous mark

Command-Up Arrow

Jump to next mark

Command-Down Arrow

Jump to previous bookmark

Option-Command-Up Arrow

Jump to next bookmark

Option-Command-Down Arrow

Clear to previous mark

Command-L

Clear to previous bookmark

Option-Command-L

Clear to start

Command-K

Select between marks

Shift-Command-A

Terminal Commands For Mac Os X

Other shortcuts

Using Terminal Mac

Action

Shortcut

Enter or exit full screen

Control-Command-F

Show or hide colors

Shift-Command-C

Open Terminal preferences

Command-Comma (,)

Break

Typing Command-Period (.) is equivalent to entering Control-C on the command line

Print

Command-P

Soft reset terminal emulator state

Option-Command-R

Hard reset terminal emulator state

Control-Option-Command-R

Open a URL

Hold down the Command key and double-click the URL

Add the complete path to a file

Drag the file from the Finder into the Terminal window

Export text as

Command-S

Export selected text as

Shift-Command-S

Reverse search command history

Control-R

Toggle “Allow Mouse Reporting” option

Command-R

Toggle “Use Option as Meta Key” option

Command-Option-O

Show alternate screen

Option-Command-Page Down

Hide alternate screen

Option-Command-Page Up

Open man page for selection

Control-Shift-Command-Question Mark (?)

Search man page index for selection

Control-Option-Command-Slash (/)

Complete directory or file name

On a command line, type one or more characters, then press Tab

Display a list of possible directory or file name completions

On a command line, type one or more characters, then press Tab twice

See alsoCreate custom function keys in Terminal on MacChange Profiles Keyboard preferences in Terminal on MacApple Support article: Mac keyboard shortcuts