OS X: Fixes Hints Tweaks and Tips
https://discussions.apple.com/thread/8031806
https://appletoolbox.com/2018/09/mail-not-working-after-macos-mojave-upgrade-how-to-fix/
http://osxdaily.com/2018/09/26/make-macos-mojave-boot-usb-installer/
https://www.geekrar.com/download-macos-mojave-vmware-virtualbox/
NOTE: To any user planning to purchase an Apple Mac computer and who doesn't plan on installing Linux on it, just stop. Buy a Windows 7 system instead because even though it is crap it is still a whole lot better than the stinking pile of shit that is OS X.
HOWTO: INSTALL:
Download Full macOS Installation Packages
There is now a Python app that will list you all the macOS packages and you can download any of them easily.
https://github.com/corpnewt/gibMacOS
Py2/py3 script that can download macOS components direct from Apple.
Can also now build Internet Recovery USB installers from Windows using dd and 7zip.
Download
python3 ./gibMacOS.command
Application from Command Line
sudo su - curl -O http://website/app.dmg hdiutil mount app.dmg cp -R "/Volumes/Software Name/Software Name.app" /Applications hdiutil unmount "/Volumes/Software Name/" exit
http://commandlinemac.blogspot.com/2008/12/installing-dmg-application-from-command.html
Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Telnet
brew install telnet
FTP
https://discussions.apple.com/thread/8095304
L2TP / IPsec VPN
https://www.hideipvpn.com/setup/howto-mac-os-x-l2tp-ipsec-vpn-setup-tutorial/
A Scanner In Yosemite
You can add a scanner to the list of devices in Printers & Scanners preferences.
If you’ve already set up a printer that includes a scanner, you may be able to use its scanner features without any additional work. Select the printer in the list at the left, then click Scan.
- Before setting up your scanner, choose Apple menu > App Store, then click Updates to make sure OS X has the latest information about scanner software it can download from Apple.
- If you have a multifunction AirPrint printer and scanner, no software is installed, so you don’t need to check for software updates.
- Follow the instructions that came with the scanner to unpack it and connect it to your Mac.
- Important: Don’t install software that came with the scanner. OS X downloads the latest scanner software automatically.
- Choose Apple menu > System Preferences, then click Printers & Scanners.
- If you don’t see your scanner in the list at the left, click Add . If a pop-up menu appears, choose Add Printer or Scanner.
- Select your scanner, then click Add.
- If your scanner isn’t in the list, see the documentation that came with the scanner to find out how to scan with it.
Hackintosh - Unsupported Systems - Mojave
HOWTO: ENABLE:
Mount NTFS External Drive
https://techsviewer.com/how-to-write-to-ntfs-drives-in-macos-mojave/
Always Show Scroll Bars
Dock Tweaks
https://www.computerworld.com/article/3040996/6-dock-terminal-tweaks-mac-users-need.html
https://www.macworld.co.uk/how-to/mac-software/tips-mac-os-x-dock-delete-apps-3526992/
https://www.makeuseof.com/tag/customise-mac-os-x-dock-hidden-terminal-commands/
https://www.defaults-write.com/cat/dock/
http://www.fullduplextech.com/2018/12/14/mac-osx-mojave-tweaks/
Fast User Switching
Turn on Fast User Switching in the Accounts System Preferences. It's in the Login Options. (click the padlock to unlock settings)
Enable SSH
http://osxdaily.com/2011/09/30/remote-login-ssh-server-mac-os-x/
Read/Write To Ntfs Formatted Drives
Install software from here.
NOTE: On install NTFS-Free Yosemite you are required to run the following in the terminal:
Terminal:~$ sudo nvram boot-args="kext-dev-mode=1" sudo kextcache -system-prelinked-kernel sudo kextcache -system-caches
After the first command you will need to enter your password because of 'sudo' (super user do) this disables the security check. The other 2 commands just clear your cache of any old versions of this kernel extension to give you a fresh slate. After you install/reinstall you'll restart and things seem to be working. It is suspected that this will be broken in the next update because this uses the /System/ folder which apple will be phasing out 3d party use of that folder.
CUPS Web Interface
Terminal:~$ cupsctl WebInterface=yes
To access the web interface in a browser's address bar type either of the following:
http://localhost:631 your.ip.address.here:631
FileVault - Drive Encryption
- Main Apple menu | System Preferences | Security & Privacy | FileVault (Tab)
- Click on the Padlock icon
https://support.apple.com/en-us/HT204837
HOWTO: DISABLE:
Adobe Creative Cloud Launching At Login
Terminal:
Disable
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
Enable
launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
Thanks to Stack Exchange.
Automatic Updates
sudo softwareupdate --schedule off
http://www.dgkapps.com/blog/tag/schedule/
https://ss64.com/osx/softwareupdate.html
https://www.theregister.co.uk/2019/10/08/adobe_catalina/
Handoff
Handoff is: https://support.apple.com/kb/PH25169?locale=en_GB
Disable on MacOS: https://www.howtogeek.com/331246/how-to-disable-handoff-on-your-iphone-and-mac/
Recently Used Programmes Section On Dock
System Preferences --> Dock --> Untick the entry "Show recent applications in Dock"
System Integrity Protection
Click the symbol in the Menu bar. Click Restart… Hold down Command-R to reboot into Recovery Mode. Click Utilities. Select Terminal. Type csrutil disable. Press Return or Enter on your keyboard. Click the symbol in the Menu bar. Click Restart…
https://www.imore.com/how-turn-system-integrity-protection-macos
LogMeIn Remote Sound Driver
Go to Macintosh HD/system/library/extensions and move the file "logmeinsounddriver64.kext" to your Desktop, then restart your computer.
https://discussions.apple.com/thread/5614486
Journaling On A HFS+ Drive Using Linux
Terminal:~$ sudo apt-get install hfsplus hfsprogs sudo fsck.hfsplus /dev/sdXY sudo mount -o force /dev/sdX /your/mount/point sudo mount -o remount,rw,force /mount/point
http://sourceforge.net/projects/linux-hfsplus/
https://packages.debian.org/sid/hfsprogs
https://help.ubuntu.com/community/hfsplus
http://askubuntu.com/questions/491171/how-to-make-sure-hfs-drive-is-writeable
http://askubuntu.com/questions/508339/problems-with-a-hfs-hdd-on-ubuntu-server-14-04
https://wiki.debian.org/MacBook
http://unix.stackexchange.com/questions/151649/usb-hdd-not-working-on-linux
Dashboard
The Dashboard is activated by pressing F12, however it is always running in the background hogging resources, so to permanently disable it undertake the following.
Terminal:~$ defaults write com.apple.dashboard mcx-disabled -boolean YES killall dock
To revert the behaviour run again changing YES for NO, followed by 'killall dock'.
User Profiles From Appearing On The Log In Screen
NOTE: Applies to Yosemite (10.10 and newer).
Terminal:~$ sudo dscl . create /Users/hideuser IsHidden 1
To revert the change:
Terminal:~$ sudo dscl . create /Users/hideuser IsHidden 0
- Where 'hideuser' is the name of the profile to be hidden.
- Reboot the system after either change to enable it.
This also hides the user from the Fast User Switching menu and login and logout menus.
The account can still be accessed through SSH, screen sharing, remote login and GUI login panels.
Thanks to OS X Daily.
HOWTO: FIX:
If you ever get a second hand mac and wipe the disk to start again, etc., make sure you write down the Apple ID details of the original user, so that you can sign into it before reinstalling os x.
Otherwise, Apple will throw you a highly ambiguous error message, "Download temporarily unavailable".
Grant File Access" Errors with MS Office 2016 (365)
- https://appuals.com/office-2016-grant-access-error-on-macos/
- https://answers.microsoft.com/en-us/mac/forum/macoffice2016-macword/grant-file-access-word-cannot-open-the-document/680033b0-4afe-42e8-8a7a-848242f5e8c0
- https://support.apple.com/kb/PH25287?locale=en_GB
Loss of Stationery in Mail After Upgrading to Mojave
Unable to Install System Update
Terminal
sudo -s softwareupdate -i -a
Reboot
Finder > Go To Folder > cifs://ip.address.of.server
NOTE: This will not work, but then close that window and try your other shortcuts or shares again, they should now work.
Black Screen Of Death (on start up)
https://discussions.apple.com/thread/7051661?start=0&tstart=0
Thumbnail Previews Not Working In Finder
Open a terminal:
Method One:
qlmanage -r cache # reset cache
Method Two:
qlmanage -r # delete and rebuild cache
System Shutting Down Part Way Though Boot Up Sequence
https://support.apple.com/en-us/HT201295
https://support.apple.com/en-us/HT204063
https://support.apple.com/en-us/HT201262
Slow/Dropping Wi-Fi (Sierra)
If you are using macOS Sierra (either out-of-the-box or after upgrading) and you are experiencing slow Wi-Fi speeds or dropping connection, deleting the Wi-Fi preferences may help. Finder use the Go to Folder command (Command + Shift + G):
- /Library/Preferences/SystemConfiguration/
Delete (after backing them up) the following files:
- com.apple.airport.preferences.plist
- com.apple.network.identification.plist
- com.apple.wifi.message-tracer.plist
- NetworkInterfaces.plist
- preferences.plist
Reboot the Mac and if possible the modem or router.
Thanks to OSX Daily, more tips available.
Thunderbolt Adapter For Network Not Working
Delete all network connections, reboot and then re-add them.
Finder > Go To Folder > cifs://ip.address.of.server
NOTE: This will not work, but then close that window and try your other shortcuts or shares again, they should now work.
HOWTO: MODIFY:
Hidden Speed Tweaks
Forbidden Commands to Speed Up macOS
Change the Log Out text
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Get your filthy hands off me you damn, dirty ape."
Change the name of your macOS user account and home folder
https://support.apple.com/en-us/HT201548
Sound Output
System Preferences > Sound > Output
Screen Shot Format
Where jpg is the format you want, or substitute with bmp gif etc as required:
Terminal:~$ defaults write com.apple.screencapture type jpg
Logging out and in is required to activate the change.
Primary Host Name
The fully qualified hostname will look something like this: mymac.domain.com
In the following <new host name> is replaced by the new name for the machine:
Terminal:~$ sudo scutil --set HostName <new host name> dscacheutil -flushcache
Finally restart the machine.
Bonjour Host Name
Where <new host name> is replaced by the new name for the machine:
Terminal:~$ sudo scutil --set LocalHostName <new host name> dscacheutil -flushcache
Finally restart the machine.
Computer Name
Where <new name> is replaced by the new name for the machine:
Terminal:~$ sudo scutil --set ComputerName <new name> dscacheutil -flushcache
Finally restart the machine.
HOWTO: GENERAL:
DNS Cache - Clear/Flush
In the terminal:
sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder
Print A Test Page
- Click the Apple icon on the upper-left side of the screen
- Click 'System Preferences'
- Click 'Printers and Scanners'
- Select the printer in question
- Click 'Open Print Queue'
- Click 'Printer' from the task bar at the top of the screen
- Click Print Test Page
Keyboard Shortcut - Force Quit
In the way that MS Windows has CTRL+ALT+Delete to open Task Manager macOS the Force Quit Applications. Press the following three keys together to open Force Quit Applications:
Option, Command, and Esc (Escape)
- Finder > Go > Connect To Server > smb://192.168.0.1/shared
- Finder > Preferences > General > Show these items on desktop > Connected Servers
- Desktop > Select Server Icon > Finder > Make Alias
Move iOS Backups
https://www.imore.com/how-move-your-iphone-or-ipad-backups-external-hard-drive
Prepare Your Mac For Sale
https://www.imore.com/how-to-prepare-mac-for-sale
Recover Your Apple ID
Startup Key Combinations
To use any of these key combinations, press and hold the keys immediately after pressing the power button to turn on your Mac, or immediately after your Mac begins to restart. Keep holding until the described behavior occurs.
Command (⌘)-R: Start up from the built-in macOS Recovery system. Or use Option-Command-R or Shift-Option-Command-R to start up from macOS Recovery over the Internet. macOS Recovery installs different versions of macOS, depending on the key combination you use while starting up. If your Mac is using a firmware password, you're asked to enter the password.
Option (⌥): Start up to Startup Manager, which allows you to choose other startup disks or volumes, if available. If your Mac is using a firmware password, you're asked to enter the password.
Option-Command-P-R: Reset NVRAM or PRAM. If your Mac is using a firmware password, it ignores this key combination or starts up from macOS Recovery.
Shift (⇧): Start up in safe mode.
D: Start up from the built-in Apple Hardware Test or Apple Diagnostics utility, depending on your Mac model. Or use Option-D to start up from this utility over the Internet.
N: Start up from a compatible NetBoot server, if available. To use the default boot image on the NetBoot server, hold down Option-N instead. Computers that have the Apple T2 Security Chip don't support this startup key.
Command-S: Start up in single-user mode. This key combination requires macOS High Sierra or earlier.
T: Start up in Target Disk Mode.
Command-V: Start up in verbose mode.
Eject (⏏) or F12 or mouse button or trackpad button: Eject removable media, such as an optical disc.
https://support.apple.com/en-us/HT201255
Run Apple Hardware Diagnostics
- Shut down > Power Off
- Power On + D key
The test will usually take about 3 minutes.
https://support.apple.com/en-gb/HT202731
Start In To Safe Mode/Boot
- Shut down the computer, if you laptop does not have a removable battery do this by holding the power button for 10 seconds
- Give things time to settle, twenty to thirty seconds should do fine
- Start the computer then hold down the shift key once the start up tone has played
- Release the Shift key when the grey Apple logo and progress indicator appear
- At the point where the screen goes dark and the cursor appears type the first letter of the username for your computer, then hit Enter, then type your password, then hit Enter.
- At this point you should see the spinning beach ball and be in safe mode
- To check you are in Safe Mode, go to About This Mac > System Report > Software > Boot Mode = Safe
Check Hard Drive Health with Disk Utility
- Disk Utility > First Aid > Run > Yes to Lock
http://osxdaily.com/2012/05/24/check-hard-drive-health-mac-disk-utility/
Check Hard Drive Health with Command Line
sudo -s diskutil verifyVolume /
http://osxdaily.com/2014/01/27/verify-disk-command-line-mac-os-x/
Repair Hard Drive Problems with Command Line
sudo -s diskutil repairvolume /
http://osxdaily.com/2014/01/27/verify-disk-command-line-mac-os-x/
Check System Console Messages for Errors
- Utilities > Console > Press the Info button
Reset the System Management Controller SMC
https://support.apple.com/en-us/HT201295
Reset the NVRAM
https://www.macworld.com/article/2881177/macs/how-to-reset-your-macs-nvram-pram-and-smc.html
Install/Reinstall OS
https://support.apple.com/en-us/HT201314
Create USB Installer
Boot From USB / Optical Drive
Hold down the Option (or as it is otherwise know by the rest of the world the ALT) key, then turn on and keep holding until the Startup Manager appears. You may need to wait a minute or so before the Startup Manager recognises and shows a disc in the optical drive.
Thanks to Apple Support
Create A Shortcut To A Server
Sidebar Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder from the Finder window contents section to the window's Sidebar.
- Sidebar icons can be placed in any order you wish. When dragging the icon to the sidebar a blue line will indicate where the icon will be placed when you release the mouse.
- To reconnect, simply click once on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
Dock Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder from the Finder window contents section to Dock.
- When placing items in the Dock, they need to be placed:
- To the RIGHT of the divider line that separates applications from the Trash and other document and folder icons, if the Dock is on the bottom of the screen;
- UNDER the divider line that separates applications from the Trash and other document and folder icons, if the Dock is on the left or right side of the screen;
- When dragging the icon to the Dock a space will "open up" for the icon to indicate where the icon will be placed when you release the mouse.
- To reconnect, simply click once on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
Desktop Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder icon to your Desktop.
- To reconnect, double click on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
Become Root
sudo su
Find Application Files
mdfind -name [application name]
Network Interface IP Address
ifconfig | grep inet
Ping With Timestamp
ping host | perl -nle 'print scalar(localtime), " ", $_'
Thanks - https://stackoverflow.com/questions/10679807/how-do-i-timestamp-every-ping-result
Use Wireless Diagnostics (Sierra ?)
- Choose Apple menu > System Preferences, then click Network.
- Click “Assist Me,” click Diagnostics, then follow the on-screen instructions.
Or, if you are connected to the wireless network you are having issues with:
- Quit all open programmes
- Hold down the Option key, click the Wi-Fi status icon in the menu bar, then choose Open Wireless Diagnostics.
- Enter your user name and password, click OK, then click Continue.
- Follow the on-screen instructions to analyse the network connection.
Remove Wireless Networks
prune-mac-wifi-networks.sh Shell Script
Take A Screen Shot
- Entire screen - CMD+Shift+3
- Portion of screen - CMD+Shift+4 the cursor changes to cross hair click and drag over required area
- Open window - CMD+Shift+4 then press space bar, move the mouse over the desired window and click once
- Save to clipboard - CMD+CTRL+Shift+3 for the entire screen or CMD+CTRL+Shift+4 for an open window, once done you can then paste the image as require
- Applications - Utilities - Grab a tool to do the job
Screen shot files (not sent to the clipboard) are saved to the desktop.
Thanks to Wikihow.com
Lock Screen By Keyboard Shortcut
- Older machines with optical drive - Control-Shift-Eject
- Newer machines without optical drive - Control-Shift-Power
To Put To Sleep
- Older machines with optical drive - Command-Option-Eject
- Newer machines without optical drive - Command-Option-Power
Open An Un-cooperative File
For example if OS X is refusing to open what you know is a text file, open Finder and locate the file, open the program that will handle the text file. Then while hold down the 'Option (ALT)' and 'Cmd' key drag the file from Finder on to the program.
Burn An ISO File
- Insert a blank disc.
- Start Disk Utility (/Applications/Utilities/).
- File menu, choose 'Open Disk Image' then browse and select the ISO to be burned.
- In the volumes listing there will be an item representing the ISO file, select it.
- Click the 'Burn' button and follow the instructions.
Start In To Safe Mode/Boot
- Shut down the computer, if you laptop does not have a removable battery do this by holding the power button for 10 seconds
- Give things time to settle, twenty to thirty seconds should do fine
- Start the computer then hold down the shift key once the start up tone has played
- Release the Shift key when the grey Apple logo and progress indicator appear
- At the point where the screen goes dark and the cursor appears type the first letter of the username for your computer, then hit Enter, then type your password, then hit Enter.
- At this point you should see the spinning beach ball and be in safe mode
- To check you are in Safe Mode, go to About This Mac > System Report > Software > Boot Mode = Safe
Install/Reinstall OS
https://support.apple.com/en-us/HT201314
Create USB Installer
Remove Or Change CoreStorage Partition
http://awesometoast.com/yosemite-core-storage-and-partition-woes/
Boot From USB / Optical Drive
Hold down the Option (or as it is otherwise know by the rest of the world the ALT) key, then turn on and keep holding until the Startup Manager appears. You may need to wait a minute or so before the Startup Manager recognises and shows a disc in the optical drive.
https://support.apple.com/en-gb/HT201663
https://support.apple.com/en-gb/HT202796
Create A Shortcut To A Server
Sidebar Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder from the Finder window contents section to the window's Sidebar.
- Sidebar icons can be placed in any order you wish. When dragging the icon to the sidebar a blue line will indicate where the icon will be placed when you release the mouse.
- To reconnect, simply click once on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
Dock Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder from the Finder window contents section to Dock.
- When placing items in the Dock, they need to be placed:
- To the RIGHT of the divider line that separates applications from the Trash and other document and folder icons, if the Dock is on the bottom of the screen;
- UNDER the divider line that separates applications from the Trash and other document and folder icons, if the Dock is on the left or right side of the screen;
- When dragging the icon to the Dock a space will "open up" for the icon to indicate where the icon will be placed when you release the mouse.
- To reconnect, simply click once on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
Desktop Shortcut
- Make sure you are connected to the file server.
- Display the folder you want to create a shortcut for.
- Drag the folder icon to your Desktop.
- To reconnect, double click on the icon.
- Note: If you haven't already authenticated/logged into your computer, you will be prompted for your log in name and password.
HOWTO: DOCK:
Enable 2D Look & Feel
defaults write com.apple.dock no-glass -bool true
To revert the behaviour run again changing true to false
Make Hidden Items Icons Translucent
defaults write com.apple.Dock showhidden -bool YES
To revert the behaviour run again changing YES to NO
Change Delay When Showing and Hiding the Dock
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
The above removes any delay.
HOWTO: FINDER:
Prevent A User's Directory From Being Visible In Finder
NOTE: Applies to Yosemite (10.10 and newer).
Running the following command moves the home directory to /var, a hidden directory:
Terminal:~$ sudo mv /Users/hiddenuser /var/hideuser
The following command updates the user record of "hiddenuser" with the new home directory path in /var:
Terminal:~$ sudo dscl . -create /Users/hideuser NFSHomeDirectory /var/hiddenuser
The following command removes the Public Folder share point for the user with the long name "Hide User”:
Terminal:~$ sudo dscl . -delete "/SharePoints/Hide User Public Folder"
- Where 'hideuser' is the name of the profile to be hidden.
- Reboot the system after either change to enable it.
Browse Outside Of Your Own User Profile
- Open Finder
- Use the keyboard combination 'Shift+CMD+G' to open the 'Go to the folder:' window
- Typing / in the box provided will take you to the root of the drive
Display Hidden Files
Method One
Terminal:~$ defaults write com.apple.finder AppleShowAllFiles -bool YES
To revert the behaviour run again changing YES to NO
Method 2
http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
Display The File Path
Terminal:~$ defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
To revert the behaviour run again changing YES to NO
Search Foo
http://richardleggett.co.uk/blog/2008/12/07/improve_osx_searches/
http://www.mcelhearn.com/spotlights-secret-search-syntax/
http://www.macosxtips.co.uk/index_files/12-tips-for-finder-in-Mac-OS-X-Lion.php
HOWTO: Keyboard Shortcuts:
- Delete = CMD+backspace
- Spotlight = CMD+Spacebar
- Hash key = Alt+3
Keyboard mappings using a PC keyboard on a Macintosh
HOWTO: Terminal
List All Network Interfaces
networksetup -listallhardwareports
Tree Command
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
Show Kernel Routing Table
sudo netstat -nr
Install Package
sudo installer -pkg Whatever.pkg -target /
CLI Aliases
Unlike Linux OS X does not provide a user with their own aliases file, so you will need first to create one.
Terminal:~$ nano .bash_profile
This will open a blank file, create your alias:
alias ll='ls -lah' alias la='ls -A' alias l='ls -CF' alias ping='ping -c3' alias pingg='ping -c3 www.google.co.uk' alias update='sudo softwareupdate -i -a' alias hg='history |grep'
CTRL+O to write to the file, press enter then CTRL+X to exit.
To load the new alias profile:
Terminal:~$ source ~/.bash_profile
To confirm the entries:
Terminal:~$ alias
This will then display all the aliases entered in the bash_profile file.
Dates
Terminal:~$ plus 3 weeks: date -v +3w minus 3 weeks: date -v -3w plus 3 weeks and 2 days: date -v +3w -v +2d
Location
- Open Finder
- Open Utilities folder, Terminal is inside.
Or
Spotlight >> Terminal
Processes
List All
Terminal:~$ ps -ax
This will list all the running processes, potentially two to three hundred of them.
Find Specific Process
Terminal:~$ ps -ax | grep <name of application> ps -ax | grep Lightroom
The returned result will show the process ID number (the first set of numbers after the original command) as well as the folder from which the programme was launched.
ps -ax | grep Lightroom 14530 ?? 0:42.18 /Applications/Lightroom.app/Contents/MacOS/Lightroom -psn_0_8108250 14947 ttys000 0:00.00 grep Lightroom
Stop A Process
Terminal:~$ kill 14530 or kill Lightroom
Thanks to Chris Writes.
System Updates
Find Updates
sudo softwareupdate --list
Install Specific Update
sudo softwareupdate -v -i iTunesXPatch-12.3.1
Download Not Install Specific Update
sudo softwareupdate -d iTunesXPatch-12.3.1
Cancel Update
sudo softwareupdate -e
Ignore Specific Software
sudo softwareupdate --ignore JavaForOSX
Update All Software
sudo softwareupdate -i -a -v
Turn on or off automatic background check
sudo softwareupdate --schedule on sudo softwareupdate --schedule off
Help
sudo softwareupdate -h
Thanks - http://www.cyberciti.biz/faq/apple-mac-os-x-update-softwareupdate-bash-shell-command/
Using
As with many other *nix systems in the terminal 'sudo' is used to do things as root.
HOWTO: PRINTING:
Brother Inkjet Printer Duplex Mode
In your chosen application:
- File | Print | Copies & Pages | Select the 'Layout' option
- Under 'Two-Sided' select either 'Long-Edge binding' or 'Short-Edge binding' depending on the orientation of you paper
Follow the settings from there.
NOTE: The settings will not be retained between print jobs. There may be a way around this but I don't have a Mac to experiment on.
INFO:
If your Mac beeps during startup
https://support.apple.com/en-us/HT202768
TCP And UDP Ports Used By Apple Software Products
OS X and macOS Code Names and Dates
- OS X 10 beta: Kodiak - 13 September 2000
- OS X 10.0: Cheetah - 24 March 2001
- OS X 10.1: Puma - 25 September 2001
- OS X 10.2: Jaguar - 24 August 2002
- OS X 10.3 Panther (Pinot) - 24 October 2003
- OS X 10.4 Tiger (Merlot) - 29 April 2005
- OS X 10.4.4 Tiger (Chardonnay)
- OS X 10.5 Leopard (Chablis) - 26 October 2007
- OS X 10.6 Snow Leopard - 28 August 2009
- OS X 10.7 Lion (Barolo) - 20 July 2011
- OS X 10.8 Mountain Lion (Zinfandel) - 25 July 2012
- OS X 10.9 Mavericks (Cabernet) - 22 October 2013
- OS X 10.10: Yosemite (Syrah) - 16 October 2014
- OS X 10.11: El Capitan (Gala) - 30 September 2015
- macOS 10.12: Sierra (Fuji) - 20 September 2016
- macOS 10.13: High Sierra (Lobo) - 25 September 2017
- macOS 10.14: Mojave (Liberty) - 24 September 2018
Uninstall Protected Apps
The likes of GarageBand etc
http://freemacsoft.net/appcleaner/
Email Mail Settings Lookup
https://www.apple.com/uk/support/mail-settings-lookup/
Software Compatibility Lookup
Determining battery cycle count for Mac notebooks
https://support.apple.com/en-gb/HT201300
How to identify MacBook Pro models
https://support.apple.com/en-gb/HT201300
MacBook Pro: How to remove or install the battery
https://support.apple.com/en-us/HT3053
How to set up your Apple wireless mouse, keyboard, and trackpad
https://support.apple.com/en-us/HT201178
MacBook Pro Support
https://www.apple.com/support/macbookpro/
MacBook Pro (Early 2008 and Late 2008) - Technical Specifications
https://support.apple.com/kb/SP4?viewlocale=en_US&locale=en_US
Package Updates
Not all of the installed applications in OS X can be updated via the command line or by downloading the update manually.
The App Store for OS X 10.6.6 onwards was introduced in January 2011 and can be used to update packages such as iPhoto, iMovie etc.
Domain Environment
- https://www.techrepublic.com/blog/apple-in-the-enterprise/integrate-macs-into-a-windows-active-directory-domain/
- https://wiki.bath.ac.uk/display/bucsapple/Binding+an+OS+X+10.4+%28Tiger%29+to+Active+Directory
- http://www.macworld.co.uk/how-to/mac-software/use-your-mac-on-windows-based-network-3594407/
- http://www.ictknowledgebase.org.uk/fileadmin/ICT/pdf/Mac/Working_Together_Your_Apple_Mac_and_Microsoft_Windows.pdf
- http://www.techworld.com/operating-systems/22-top-tools-for-professional-apple-mac-admins-3298690/
- http://www.theregister.co.uk/2012/11/05/apple_in_enterprise/
- http://www.markwilson.co.uk/blog/2008/02/using-active-directory-to-authenticate-users-on-a-mac-os-x-computer.htm
Links
- http://lifehacker.com/the-best-hidden-settings-you-can-unlock-with-os-xs-ter-1476627111
- http://lifehacker.com/5993772/tweak-the-dark-corners-of-your-operating-system-this-weekend
- http://www.dummies.com/how-to/content/handy-keyboard-shortcuts-for-os-x-yosemite.html
- http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X
- https://support.apple.com/en-gb/HT201361
- http://superuser.com/questions/174297/how-can-i-get-an-address-bar-in-finder
- https://support.apple.com/kb/PH18798?locale=en_GB
- http://www.econtechnologies.com/chronosync/overview.html
- https://discussions.apple.com/thread/6682199
- www.postbox-inc.com
- http://osxdaily.com/2014/10/24/speed-up-os-x-yosemite-mac/
- http://machmachines.com/mac-slow-yosemite-update-fix/