

You can add the -i flag to prompt the user for confirmation each time you use it, which should help prevent mishaps.Įntering sudo prompts us to run this as a superuser, which requires entering our Mac’s login password. The rm command deletes files or folders immediately without asking you for confirmation first. You can also prevent the Mac from going to sleep for a specific period of time just by adding the -t argument for example caffeinate -t 3600. Your Mac will not go to sleep while the Terminal window remains open. Once this is done, your Dock will look clean and tidy.ĭefaults write persistent apps -array-add ‘ tile-type=”spacer-tile” Keep your Mac awakeĭo you remember the last time your Mac went to sleep and ended up pausing or canceling that download or whatever else it was doing? If you hate changing sleep settings every time you want to stop that, just launch Terminal and run the Mac Terminal command below: Too many apps in the Dock triggering your OCD? Well, you can increase the space between each app using terminal commands. Check out the list of the best terminal commands every Mac user should know Increase the space between apps in the Dock

And here, you will see an app by the name of Terminal. Go to your macOS screen and open the Applications folder. To open the command line in the terminal. In the terminal, you can do almost anything that you would do manually at other times. Well, the terminal is an emulator that offers text-based access to operating systems. It means you don’t know macOS terminal commands. Have you ever seen someone working on macOS? And it looks something like encoding.
