Author:
erics, May 23rd, 2023
In the macOS Terminal, my mouse scroll wheel would magically start scrolling the command line history instead of the window buffer scroll bar on the right to show window history. This happened when an SSH session was disconnected or timed out. The fix is to run the reset command.
Categories: How-To's, Technology Tags: apple, bash, cli, Command line, Disconnect, History, howto, MacOS, Mouse, Scroll, Shell, ssh, Terminal, Timeout, tips
|
No comments
Author:
erics, April 23rd, 2021
Ever get the spinning beachball when trying to access the top menu on your Mac? SOLUTIONS Use the GUI Open the Activity Monitor application Select All Processes from the View menu Click on the SystemUIServer process, then click Force Quit. ~or~ Via CLI In Terminal, execute killall SystemUIServer
Categories: How-To's, Technology Tags: Activity Monitor, All Processes, apple, BeachBall, Force, Force Quit, Hang, Hung, Kill, killall, killall SystemUIServer, Mac, MacOS, macosx, Menu, Quit, Restart, Shell, Spiining beachball, Stop, SystemUIServer, Terminal, Top Menu
|
No comments
Author:
erics, November 2nd, 2020
|
clear; printf '\e[3J' && log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 24h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}' |
Categories: How-To's, Technology Tags: cli, Extract, howto, Log, Logs, Script, Shell, Terminal, Time Machine, tips, view
|
No comments
Author:
erics, October 29th, 2020
First quit Mail, if open. In Terminal, enter the following to disable the Data Detectors which could be responsible for the hang:
|
defaults write com.apple.terminal DisableDataDetectors YES |
Categories: How-To's, Technology Tags: Freeze, Hang, howto, MacOS, macosx, select, selection, Terminal, text(), tips
|
No comments
Author:
erics, October 11th, 2020
Format the new USB flash drive as Mac OS Extended (Journaled) and label it “MyVolume” Click the Mojave Download Link: https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12 Download the installer package from the App store – it will land in the main /Applications folder. Open Terminal and run:
|
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume |
Full article at Apple Support “How to create a bootable installer for […]
Categories: How-To's, Technology Tags: apple, boot, Bootable, Catalina, createinstallmedia, Download, Drive, Flash, High Sierra, Install, Mac, MacOS, macosx, Mojave, Reinstall, Terminal, USB
|
No comments
Author:
erics, January 24th, 2020
If you are unable to update a plugin via the WP admin console, then you can do the update manually. Download the zip file to your local hard drive and extract it. Then, from the command line, do the test run first:
|
cd {extracted_plugin_directory} rsync -av --dry-run --delete ../{extracted_plugin_directory}/ theHost:/volumes/www/theSite/wordpress/wp-content/plugins/{extracted_plugin_directory}/ |
*Make sure to use the trailing slashes with rsync for proper operation […]
Categories: How-To's, Technology Tags: cli, Download, Error, Extract, Fail, howto, Manual, Plugin, rsync, Terminal, tips, update, WordPress, zip
|
No comments
Author:
erics, November 24th, 2019
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
Categories: How-To's, Technology Tags: apple, attr, Attribute, Change, com.apple.quarantine, comacast, Delete, directory, howto, MacOS, macosx, Quarantine, Remove, Terminal, tips, Tree, xattr
|
No comments
Author:
erics, October 9th, 2019
Use Case: Export Apple Reminders from MacOS application to cleaned plain text, i.e. remove unwanted spaces, blank lines and square brackets PROCEDURE Click on a single item in the MacOS Reminders app list Select All (either Command-a or use Edit->Select All) Copy (either Command-c or use Edit->Copy) Open Terminal Run cleanme Paste the copied reminders […]
Categories: How-To's, Technology Tags: apple, array, input, List, MacOS, Multi, Multi-line, Multiline, Multiple, perl, Plain, Plaintext, Read, Reminders, STDIN, Terminal, text()
|
No comments
Author:
erics, May 28th, 2019
I use csshX on a daily basis. The default layout on my screen for three nodes is one column with three rows, one per node. This layout is excellent for visual positioning, but does make it harder to read long output. For this purpose, I start csshX using the column quantity specifier -x and I […]
Categories: How-To's, Technology Tags: apple, Column, csshX, Force, Horizontal, Mac, MacOS, macosx, Retile, Row, ssh, Terminal, Tile, Vertical
|
No comments
Author:
erics, February 16th, 2019
As of Mac OS X Lion 10.7, Terminal provides Services for opening a new terminal window or tab at the selected folder in Finder. They also work with absolute pathnames selected in text (in any application). You can enable these services with System Preferences > Keyboard > Keyboard Shortcuts > Services. Look for “New Terminal […]
Categories: How-To's, Technology Tags: apple, Finder, howto, Keyboard, MacOS, macosx, Menu, Mojave, Open, Services, Terminal, tips, window
|
No comments