Top 6 Terminal Commands User Should Know

When you start thinking of Terminal, then most of the times you imagine that a hacker is sitting in front of their system and then trying to break into an FBI database. In actual, it’s just a simple device that can make using your Mac much more easily.

By saying this, I don’t mean to say that learning about Terminal commands is easy but using them is very easy. Here how:

  1. Restart your Mac Automatically After it Freezes

Mac is reliable, but they have been known among the youth to freeze up on occasion frequently. If you don’t want to deal with having force shutdown manually then after that you can use this Terminal command to make- OS X instantly reboots on freeze.

•    sudo system setup -setrestartfreeze on

  • Check for Software Updates

If you’d get app updates as soon as possible so that you use this command to have to check it daily instead of the default Mac App Store checks for updates on a daily basis.

•    Defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1

  • Change Screenshot File Type

You can switch to either BMP, GIF, JPG, PDF, or TIFF if you don’t like that screenshots get saved as PNG files on your Mac. To your desired file extension be sure to change the ‘png’.

•    Defaults write com.apple.screencapture type -string “png”

  • Screenshot Location Need to be Changed

Only swapout the ‘/folder location’ part with the whole location you want so that you can avoid screenshots cluttering up on your desktop.

•    Defaults write com.apple.screencapture location /folderlocation

  • All Hidden Files and Folders Should be Shown

There is no option to view hidden files and folders in Mac OS X until and unless you know the location, but by using the Terminal command you can make all them visible.To again hide them, change ‘true’ to ‘false’.

•    Defaults write com.apple.finder AppleShowAllFiles -bool true

Important-For immediate changes, hold ‘Alt’ on your keyboard, then right-click on Finder in your Dock and after that click on ‘Relaunch’.

  • Individually Hide or Unhide Files and Folders

You can unhide file and folder on your Mac if you don’t want to see every hidden file and folder, For instance, The Library folder which most of the users want to hide.

•    chflagsnohidden ~/Library/Hope, you found something helpful for yourself and for your friends too.

Graccey Leio is a self-professed security expert; she has been making the people aware of the security threats. Her passion is to write about Cybersecurity, cryptography, malware, social engineering, internet and new media. She  writes for Norton security products at norton.com/setup

Leave a Reply