Mar 20, 2007 The DU utility is good for finding out where your disk space is being wasted. Use something like: du -k. sort -n. This will show the usage (in 1-K units) of all the files/directories in the current directory, which will be piped to the “sort” utility, using a numeric comparison on the first field (the size). Jan 11, 2014 If you want to check a Macs disk space and disk usage, this is one of the simplest ways to do so: From anywhere in Mac OS, choose the  Apple menu item and select “About This Mac” At the general ‘About This Mac window’, click on the “Storage” tab (or if you’re running an earlier Mac OS X version, click on “More Info” button).

  1. Tactical Space Command Mac Os Download
  2. Tactical Space Command Mac Os 11
  3. Space Command Tv
  4. Tactical Space Command Mac Os Catalina

Disable Safe Sleep Sleep mode - can save a 4GB-16GB of space

The following command can turn off the OS X native sleep function, which is SafeSleep. This sleep mode when the battery Mac will not sleep or the contents of memory stored on sleepimage files on the hard disk. sleepimage files with Mac computers as large memory, which means that if your memory is 4GB, the file will have 4GB, if it is 16GB, the file will have 16GB. Close SafeSleep state can not let the system automatically create the file, the disadvantage is that when the Mac is not the battery, you can not revert to the previous. However, we can use OS X's auto-save feature to save his job at the time the battery will be depleted.

If you want to disable SafeSleep function, we need to enter the following command in a terminal:

Then navigate to /private/var/vm/ delete files that already exist sleep image

Use the following command to delete the file

Finally, we want to prevent OS X continues to create the file, so we need the following command generates an empty file can not be replaced

Of course, if you want to re-open Safe Sleep feature, just below command.

Remove the system voice files - you can save the hard disk space 500MB-3GB+

If you are not applicable text-to-speech feature, then you certainly would not use the OS X built-in voice files. You can delete these files to regain disk space. In the terminal application, use the following command to first locate the folder where the file

Then the delete command to delete all the voice files

If you execute the command, then you will not be able to use the system's text-to-speech function.

Delete all system logs - can save a 100MB-2GB hard disk space

As you use your Mac more and more time, system log files are also more and more, based on the amount of computer errors and services, these documents will be more and more. The system log file is used to debug and troubleshooting, if you feel there is no use, you can use the following command to remove

The system will continue to generate log files, so you can regularly execute this command.

Delete cache files generated by quickly preview - you can save a 100MB-300MB hard disk space

Quick preview feature is the built-in OS X system file preview function, you can click the box after selecting any file in the Finder to see the details of the file. But Quick View feature relies on caching feature can be more smooth, and these cache files will always increase, remove the cache using the following command

Delete temporary files - you can save 500MB-5GB hard disk space

/private/var/tmp/ storage system cache is a folder, it will clear when the system reboots normally, but sometimes it does not. And if you do not close a long time Mac, do not reboot, then the cache files will be more and more. Use the following command to clear these temporary files

Clear the cache file - can save 1GB-10GB of hard disk space

There are many cache files, such as web browsing history, application meta data and so on. The capacity of the cache files with the applications users exactly how much to use, but also with Mac restart frequency. In addition, many online music player app will generate a lot of cache files, we can delete these cache files using the following command

Note that some methods have some risks, so please pay attention when using.

Terminal is one of the most powerful macOS apps, which allows you to perform actions with different commands. Although Terminal Commands are seemingly difficult to carry out, believe me, they aren’t. Once you know the commands, you can quickly perform tasks like shutting down your Mac or copying contents from one place to another right from your terminal

As the terminal is a CLI (Command Line Interface), the language we type in which interacts with the Mac, is known as bash, and commands are called bash commands. This tool is often overlooked because it is completely different from the GUI (Graphical User Interface ), which provides a rich interface. But today I’ve come up with a useful list of macOS Terminal Commands that you can learn easily and will help you do things instantly. So let’s start.

11 Cool Terminal Commands for macOS – Mac User Should Try

#1. Hide/Unhide and View Files/Folders in Finder

macOS Terminal provides you an easy way to Hide, Unhide or View hidden files in the Finder via Terminal.

Open up the terminal from /Applications/finder or alternatively launch it from Spotlight.

To Hide any File/Folder:

Type in the following command :

Now, drag the file which you want to hide in the terminal and click Enter.

To View Hidden File/Folder:

Type defaults write com.apple.finder AppleShowAllFiles -bool TRUE in the Terminal.

Once done you need to restart the Finder, it can be done by this command.

If you ever wish to hide the sensitive files again, repeat all the commands by replacing TRUE with FALSE.

To Unhide any File/Folder:

Unhiding the file/folder is fairly easy, just replace “hidden” with “nohidden”.

Now, drag the file/folder which you want to unhide.

#2. Download Files Using Terminal

If you’ve a direct link of the file which you want to download, you can use the following commands to download the file using the Terminal on Mac.

Note: If you want to download the contents to any other directory replace “downloads” with the directory name.

#3. Keep your Mac Awake

To prevent the mac from sleep, or showing screensaver after some inactivity use

If you want this command to get auto-disabled after a certain period of time, put the -t flag and specify the time in seconds as shown below.

Here, after 150000 seconds the command will get disabled, and the settings will be restored. Meanwhile, you can also use Cmd + C to terminate the command.

#4. Change Default Screenshot Format Type

By default, the screenshots are saved in .PNG format, but you can gain full control over the screenshots behavior.

To change default screenshot format type, use defaults write com.apple.screencapture type followed by type for e.g. : ( PNG, JPG, GIF, or PDF), then press Enter.

#5. Access iCloud Drive Using Terminal

To access the data from your iCloud Drive use the following command.

However, we already have a detailed guide on how you can access, copy, or move data to your iCloud Drive, which you can check out anytime.

#6. Shut Down or Restart Mac using Terminal

To shut down your mac with CLI (Command Line Interface) aka Terminal, use

Just as shut down, you can restart your Mac by

#7. View File Contents

To access the contents of any damaged or corrupted file, you can force the terminal to open it with this command.

Note: If you try to open an image file in the terminal, it will show some gibberish text.

#8. Speed Up Time Machine Backup

Whenever you’re updating the Mac to the new version, backup’s are assurity of your data and the easiest way to take a backup is to use Time Machine. But do you know? You can speed up time machine backup using the terminal by this command

Tactical Space Command Mac Os Download

#9. Add Spaces to your Dock

If you feel, your dock is crowded with a lot of apps. You can add up a little space between each app icon, here’s how.

Type:

and hit Return.

Once done, type:

Tactical Space Command Mac Os 11

and press Return again

#10. Copy Contents from One Folder to Another

Space Command Tv

Copying contents from one place to another is fairly easy with Terminal, Type in the following command

Replace original with the current directory, and new with the name of the directory to which you want to copy the contents.

#11. Make your Mac Say Anything you want

Tactical Space Command Mac Os Catalina

This is the coolest command that macOS provides, you can make your Mac say anything you want, by using the say command followed by the words.

say “hello, iGeeksblog”

Wrapping Up…

Space

There are lots of bash commands available for macOS. However, these were some of them. Do give them a try, and make more out of your Mac.

You might also like to read:

Which command did you like the most? Share your views in the comment section.