There are times that we encounter stubborn files that can’t be deleted in Trash for some reason.

If you already tried restarting your mac, changing the file permission via Get Info, and deleting the file by force through terminal, then you may also try disabling the SIP (System Integrity Protection) temporarily.

Steps:

I. Disable the System Integrity Protection

  1. Shutdown your mac.
  2. Boot into Recovery mode.
    Click the power button and hold down Command + R until you see the Apple Logo.
  3. Click Utilities.
  4. Select Terminal.
  5. Type csrutil status, it should be enabled by the default.
  6. Type csrutil disable, it will disable the SIP.
  7. Restart your machine and…
OSX Full Installers

A few years back I posted a guide on how to create a macOS OSX USB installer. The steps are basically the same even after a few iterations, so for today, I will just create a walkthrough on how to download full installers.

Steps:

  1. Open the terminal.
Get Shit Done wallpaper, created by yours truly.

With the recent macOS Catalina update, we can now finally use the picture-in-picture mode while watching videos in Safari in just a few clicks. Meaning you can keep doing what you’re doing while still watching videos from websites like YouTube, Facebook, and the likes.

To enable the picture-in-picture mode, you can either right-click or hold the ctrl (control) button and left click the volume icon and then select the Enter Picture in Picture option.

Keychain is really a convenient tool for managing passwords even for terminal users, specifically for those people who uses passphrase in their private key. For newer versions of OSX, Catalina in my case, there’s an additional step to add and being able to use it.

I will be assuming that you already have your private key with you and just want to make things more convenient.

Step 1 — Add your Private Key to Keychain

ssh-add -K ~/.ssh/[name of your private key]

Enter your passphrase, then hit enter.

Step 2 — Allow SSH to use always your keychain

Modify your SSH configuration file ~/.ssh/config and add the following lines:

Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/[name of your private key]

Note: If you are using multiple private keys, just add a new IdentityFile entry in your SSH config.

Storage capacity of iOS devices keeps on increasing, and if you own multiple iOS devices and an MBP with limited storage like me, then you’ll definitely have issues with your backups. The best way to solve this is to transfer the location. For this tutorial, I will change the backup location to an external drive.

Before we proceed, make sure that your terminal have administrative privileges. If you don’t know how to do it, you can see this post.

Step 1: Open Terminal and delete the iTunes Backup folder in your machine.

rm -rf ~/Library/Application\ Support/MobileSync/Backup

Step 2: Create a Backup folder in your target location, assuming that your external drive is already plugged in. You can either create it via Finder or via Terminal.

mkdir -p /Volumes/Seagate\ Bac/BACKUP/MobileSync/Backup

Step 3: Create a symlink (symbolic link) from the iTunes Backup folder in your machine to your new backup location.

ln -s /Volumes/Seagate\ Bac/BACKUP/MobileSync/Backup ~/Library/Application\ Support/MobileSync/Backup

If you open the local backup directory…

By default, applications are being restricted by the operating system to limit the actions that might cause an issue to your machine. This usually causes the Operation not permitted error.

If you really know what you’re doing and you want to make modifications to your system files, like creating a symlink to another location, then you might have to give administrative priviliges to your apps (ie Terminal).

In my screenshot above, I’m trying to transfer the location of my iOS back-up to an external drive, but my 3rd party terminal app is being restricted which prevents me from doing it.

Step 1: Go to System Preferences and click Security & Privacy options.

Image Source: http://kainosedge.com/event/critical-thinking-the-art-of-problem-solving/

This presentation was used in our company’s internal training in Problem Solving and Critical Thinking. Some parts were customized to fit our needs.

Image Source: https://apple.stackexchange.com/questions/338008/i-cant-install-macos-mojave-because-this-copy-of-the-install-macos-mojave-app-a

Most common cause of this error is due to the invalid time in your mac. All you have to do is correct it then retry the installation.

Step 1: Check whether you have the same issue. Open the terminal.

PART I. CREATE AN APPLE SCRIPT VIA AUTOMATOR

Step 1. Open Automator application.

Step 2. Create new Service.

Step 3. Set Service receives selected to no input.

Aaron Medina

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store