Tag: macOS
diskutil eraseVolume HFS+ Blank /dev/disk0s4
diskutil mergePartitions HFS+ Lion disk0s3 disk0s4
Host * Port 22
mv /var/root/.bash_profile /var/root/.profile source /var/root/.profile
sudo lsof -p 1 # or sudo lsof -p $(ps -U root | grep -w "/sbin/launchd" | head -1 | awk '{print $1}')
softwareupdate -ia sudo softwareupdate --clear-catalog