Launch Disk Utility from Applications > Utilities and write down the name of the USB drive.
Assuming you’ve downloaded the macOS Monterey installer, you can go ahead and run the createinstallmedia command in Terminal to create a bootable USB drive: Connect a suitable USB drive to your Mac. List of macOS built in sounds to choose from here. Method 2: Run createinstallmedia in Terminal. With terminal/bash and osascript: osascript -e 'display alert "Alert title" message "Your message text line here."'Īdd a line in bash for playing the sound after the alert line: afplay /System/Library/Sounds/Hero.aiffĪdd same line in AppleScript, letting shell script do the work: do shell script ("afplay /System/Library/Sounds/Hero.aiff") With AppleScript: display alert "Alert title" message "Your message text line here." Double-click the Utilities folder to open it. Scroll through until you find the Utilities folder.
In the menu bar, click Go and select Applications. Your Private Key will live forever at location you specified in Step 2. Now you are ready to type, enter the following command and hit enter: Step 3 Save your Private Key, send your Public Key. With terminal/bash and osascript: osascript -e 'display notification "Notification text" with title "Notification Title" subtitle "Notification sub-title" sound name "Submarine"'Īn alert can be displayed instead of a notificationĭoes not take the sub-heading nor the sound tough. To open Terminal from your Applications folder, click your desktop to bring Finder into focus. There are many options of running the SSH public key on Macs. With AppleScript: display notification "Notification text" with title "Notification Title" subtitle "Notification sub-title" sound name "Submarine" Adding subtitle, title and a sound to the notification: