Cool Terminal Commands For MacOs _ Tutorial

Cool Terminal Commands

After reading this article, you will learn that what are the Cool Terminal Commands for macOS that you can use later on. Let us discuss! In case, if there is one piece of advice and then I can give it to all macOS users and it is this. To Use the Terminal more and more Seriously. And if is an often-neglected and then it can overlook feature on the macOS system. Then there are so many of the cool MacOS Terminal commands that you can use to make it and the features that can insanely useful.

so, this can be quite intimidating that you are trying to use it if you are a newbie. Then the Hollywood can keep pushing the stereotype of the Terminal window. They can use it by the hacker that can geeks spouting techno-babble while shutting down the main power grid. During this, that is under the heavy gunfire by terrorists. Now it can also be used for more peaceful means such as customizing your Mac and then by using your time-saving shortcuts. Then you can try out loads of commands and then here are the ones I liked the most.

Also Read: Windows 10 Anniversary Update: Three Ways To Upgrade

What are the Cool Terminal Commands To Try Out:

So, I have excluded all of the really geeky and techie ones. Besides this, I am also focusing on ones that are not straightforward and useful. In order to open up the Terminal window then you can go to your Applications folder and then the Utilities. Now, you will also find the Terminal.

Also See: Ways To Optimize Windows 10 For Gaming _Guide

To View the Hidden Files & Folders by using Cool Terminal Commands:

By using Windows, the macOS can hide all the folders that are essential to the running of the system. So, you can hide them, and then there is no chance of you accidentally deleting a system-critical file and also crashing your entire Mac.

Also, in some of the files and the folders that you can do sometimes that can need to be seen. To use on a USB stick, caches, and also the thumbnails that are usually hidden, and then it can take up quite a big part of the storage space. Now, this is the only way in order to get rid of them. Then you can short of reformatting the stick and then it is to view the hidden files.

Using the Terminal window you have to type the following command that is given below :

defaults write com. apple. finder AppleShowAllFiles -bool TRUE

After that, you have to type: killall Finder. Then you will see all of the hidden files. Also, you have to be careful what if you can delete it. In case, if it is in doubt then leave it alone. In order to hide them again, you have to repeat all the commands but replace then type TRUE with FALSE.

To Download Files From The Internet Without a Browser:

Cool Terminal Commands

In case, if you can need to download a file from the Internet. Then you don’t always need to open a browser. Also, you can download it through the Terminal.

Then we have a previously mentioned Homebrew so that it can allow you to download software via the browser. Then there is also a YouTube-DL where you can download YouTube videos via the Terminal.

Also, you can download the various bits and the pieces online if you have the direct download link. The very first step is to specify which folder that you want it downloaded to. Then I have to set it to the Downloads folder but you can also change it to whatever you want. cd ~/Downloads/

After that, you can then download the file and type: curl -O [the URL of the file]

To Keep Your Mac Awake Cool Terminal Commands 

So, there are various apps that are available for disabling the sleep function on a Mac. Now the one that I use is to highly-rated free app Amphetamine. Then if you are averse in order to install a lot of apps then there is actually a Terminal command that you can use instead. In this you can simply type the: caffeinate

Then this will also stop your Mac from going to sleep. If you can want it in order to that finally close its digital eyes. Also, you can relieve its suffering by pressing the CTRL + C buttons.

Also See: Com Surrogate has Stopped Working in Windows

The Play Tetris Cool Terminal Commands

  • Users can absolutely love Tetris. So, I can spend hours playing it. Then I was delighted to learn there is a secret Tetris that has the game hidden away on the Mac.

Cool Terminal Commands

  • By using the Terminal you have to type the: Emacs
  • Then you have to hit the enter button. Now tap on the Fn and the F10 keys that can together at the same time. Then press the t button then the g button.
  • In the end, you will also see this. Then choose your game and then it will also start.

To Make Your Mac Sound Like An iPhone When Plugged Into Juice:

So, this it can is not so real as a useful one. Then if you like the sound of your iPhone. I case if you can now have your Mac then make the iOS beeps when you plug it into the power.

So, by default, you can write the com. apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/

To Tell Your MacOS To Check For Updates More Often

Then this is the common-sense computer security in order to update your Mac often. Then it can contain a lot of people that can frequently overlook it and then you can take forever. If you want to download the critical patches and updates. In this case, the sounds like you, and then it can flip the finger to your Swiss cheese brain and instead tell your Mac to check for updates more often.  Now, you can also tell this to check every day you just have to type the: defaults write com. apple.SoftwareUpdate ScheduleFrequency -int 1

To Change Where You Get Screenshots Sent To

So, this is in this line of work and then I do a LOT of screenshots. So, that is that when I bought my current Macbook a couple of years ago. Then it gets started and then sending all my screenshots to the desktop. So that it can irritate the hell out of me as I like to keep a clean desktop. Then there is a way in order to change the default screenshot location.

Cool Terminal Commands

You just have to type the following and then it can replace it from the /your/location/here with the path to the folder you want to change it to.

The by default you can write com. apple.screen capture location ~/your/location/here. After that type: killall SystemUIServer

Also See: How to Fix Android Connected To WiFi But No Internet: Guide

To Create a New Default Name For Screenshots:

This is the other cool screenshots that one is changing the default name for a screenshot that the Mac makes. Also, it can usually make the Mac writes that it can like this. Now, the Screen Shot 2018-09-11 at 20.00.46.png but that is so unwieldy and the ugly looking. Although, there is not fear and then you can change it to whatever you want.

So, by default it can write com. apple.screen capture name “New Screen Shot Name” . And then you have to type: killall SystemUIServer.

Also Read: How to Create 3×5 Index Cards Template In Microsoft Word

To Change What Format You Make Your Screenshots

So, in this point, you have probably decide and then i have declared the Holy War on screenshots. Noe it cn promise that it is the last one that i will do on it. Then you can change the default name and location and then you can also specify what file format you want them in.


So, that i can normally do them in the PNG format but a lot of my clients that can actually detest PNG. Apart from this, they also want JPG. From this they are also paying my bills and then they get to decide what format my images are in. Now you can and of course in order to change it to whatever you want. The GIF, BMP, or God forbid, TIFF. Now this is by defaults write com. apple.screencapture type jpg.

Also See: In Windows: How to Fix NT Kernel & System Process High CPU Usage

To Kill The Dashboard with Cool Terminal Commands

If this was the last time that you can use in the Dashboard? Then this is me neither. Then in my opinion there is absolutely no use for it. Also, you should be scrapped by the Apple. This can do until they get around in order to make it extinct and then you can disable it instead.

Now by defaults you can write com. apple.dashboard mcx-disabled -boolean TRUE and then type the command: killall Dock.

Also Visit: Windows Is Not Activated: To Fix Product Key Not Working

To Add a Gap Between Apps In The Dock

So, this is one that i really like and the reason is that it can bring a little bit of order to my Dock. Also, it can enables you to put the blank spaces in the Dock so that you can separate app icons and then they look as if they are grouped together.

Then the by defaults write com. apple.dock persistent-apps -array-add ‘{“tile-type”=”spacer-tile”;}’ and then you can type the following command: killall Dock

Also Read: Hide Tethering From T-Mobile: Ways To Hide Data Usage

To View Your Entire Download History And ThenWipe It:

Now the Privacy enthusiasts and also the illegal downloaders. This will also be horrified to hear this one. After that your Mac that can keep the meticulous records of every file you download. Then the next time when the Music Police that can come knocking on your front door. This can don’t bother the protesting of your innocence. Now your Mac will also snitch on you. The reason is that you can get the last laugh. In order to view the entire list and then type the:

sqlite3 ~/Library/Preferences/* ‘select LSQuarantineDataURLString from LSQuarantineEvent


If you want to delete all the incriminating evidence then you have to type the following command :

sqlite3 ~/Library/Preferences/* ‘delete from LSQuarantineEvent’

In case, if you can now type the first command again then the list should be blank.

Also see: What Is DPI And How To Check DPI Of Image?

To Shut Down The Mac

At the end, when it is time to go to bed and then you can do on your Mac as a favor and  then let it go in order to sleep too. $ sudo shutdown -h now. Also, if it is the middle of the day, and then you will need to restart your Mac, type : $ sudo shutdown -r now

So, this is all about cool terminal commands

Related Articles: Working Of Google Maps So Slow _ How To Fix It?


To Use the Terminal more and more Seriously. And if is an often-neglected and then it can overlook feature on the macOS system. Then there are so many of the cool MacOS Terminal commands that you can use to make it and the features that can insanely useful. So, this can be quite intimidating that you are trying to use it if you are a newbie. Then the Hollywood can keep pushing the stereotype of the Terminal window. They can use it by the hacker that can geeks spouting techno-babble while shutting down the main power grid.

Hope You understand this topic! If this guide will help you to resolve this issue let us know in the comment section below. Thank You!


Leave a Reply

Your email address will not be published. Required fields are marked *