Sep 06, 2012 How to Restart a Mac from the Mac OS X Command Line To start a reboot immediately from the Mac OS X Terminal, type the following command string at a prompt (either locally or remotely): sudo shutdown -r now. Aug 13, 2017 Apt for the name, the ‘shutdown’ command can shutdown a Mac as well as reboot a Mac via Terminal. To turn off a Mac with the shutdown command, you will use the -h flag and give the time for ‘now’ making the syntax like so: sudo shutdown -h now. Macs may be reliable, but they have been known to freeze up on occasion. If you'd rather not deal with having to manually force a shutdown, you can use this Terminal command to make OS X instantly reboot on a freeze. Sudo systemsetup -setrestartfreeze on #2: Check for Software Updates Daily.
Terminal is a very useful tool available to enter commands and get on to a relevant things on Mac OS X. User can easily get on to the things just by entering a proper commands. These commands can be considered as tips and tricks of using a Mac instantly on the go. You can directly open up your required thing right by entering the command. It seems like the easiest way to use Mac OS X. Following we have compiled all the best Commands that can be use on a daily basis on your current Mac system. Do take a look now!
How to Open and Use Mac OS X Terminal
Terminal is located as an applications on your Applications folder. Open up your phone’s Application folder and then Utilities. Once the Black Windows gets appeared, by then you can easily enter Commands by using your Mac’s Keyboard.
This was all about to enter into Terminal Window. Now, let’s get on to the Commands to make use of this Terminal Window well.
Commands, Tips & Tricks of Mac OS X
Note : Make sure to use the exact command which we are giving you in the following list. Keep your eyes on the letters whether they are in Capital or not.
This command clears off the current Window instantly.
2. Change Screenshot File
Mac OS X allows you to take screenshots of the current Window with a cool way. Your screenshot will be saved as a png format. Well, if you want to change the format of it. You just need to follow the below given command.
defaults write com.apple.screencapture type PDF
To revert the system, you just need to clear the last PDF name and there you can enter anything that you want. Like JPG PNG etc.
3. Change Screenshot Location
Most probably Screenshots are being saved on the Desktop, so that user can easily get on to them whenever they are in need. To change the location of it, follow the below given command.
defaults write com.apple.screencapture location /drag/location/here
See above command. “here” stated the location where you want to save the screenshots. You can put down your relevant folders there and by then, all the screenshots will be saved right on to that particular folder.
4. Show Hidden Files and Folders
defaults write com.apple.finder AppleShowAllFiles -bool TRUE
5. Install OS X Software Updates
sudo softwareupdate -l
In a few minutes, you will get all the available updates as a list on the Window.
6. Shutdown your Mac instantly
sudo shutdown -h now
7. Restart your Mac instantly
sudo shutdown -r now
8. Add Time Delay to Shutting down your Mac
sudo shutdown -r +30
9. Turn off Dashboard
defaults write com.apple.dashboard mcx-disabled -boolean TRUE
10. See everything that you have entered in the Terminal Window
This command will get you a complete list of all the commands that you have recently used on your Mac. You can easily make use of them again by following them one by one.
So folks, these were all the very useful Commands, Tips and Tricks available to try on your Mac OS X. To add more, by using these given commands, you can improve the productivity of your work and can get to know more about it just by using them on a regular basis.
Do you encounter a frozen app on your Mac and can’t quit it normally? That spinning beach ball makes you crazy? Instead of just sitting and getting more frustrated, force quit an app that’s not responding. Thankfully, you’ve got options to close the unresponsive apps.
We’ve prepared five Mac force quit ways, so you can pick the one that works best for you. Moreover, we’ll tell you how to prevent the programs from hanging and what to do if your whole Mac stops responding.
How to Force Quit Mac Applications
Force quit from the Apple menu
Here’s how to force quit an app from the Apple menu:
- Click on the Apple logo in the top left corner of your screen.
- Select Force Quit.
- Choose the app that’s not responding.
- Click on the Force Quit button.
Force quit from the Dock
If you wonder how to force quit an app on Mac using the Dock, check out these simple steps:
- To open the dock menu, right-click on the application icon you want to shut down or click on the item and hold.
- Hold an Option (Alt) button, so the Quit menu changes to Force Quit.
- Click Force Quit.
As simple as that!
Force quit using the keyboard shortcut
Macos Force Shutdown Terminal Commands
Alternatively, you can use a force quit Mac shortcut to close an unresponsive app. Do the following:
- Press and hold the following keys: Command + Option + Esc.
- Select the program you want to quit from the dialogue box.
- Click Force Quit.
This method of force quit command Mac is especially useful if your mouse cursor is lagging a bit.
Force quit using the Terminal
If you prefer a command line method to solve the problems, you can quit an unresponsive app via Terminal. Here’s what you should do:
- Launch the Terminal.
- Type the following command: killall [application name]. For example, if Spotify isn’t responding, type killall Spotify.
- Click Enter. Your application will be shut down immediately.
If an app's name consists of more than 2 words (like 'Google Podcasts'), you should put its name in quotation marks.
Note that the killall command works at the system level and the auto-save option doesn’t work. Be careful not to lose your unsaved data.
A better way to force quit apps — CleanMyMac X
A smart maintenance app like CleanMyMac X has a problem of force quit on Mac covered. You can easily force quit program on your Mac with an Optimization utility. It has a special Hung Applications tool that allows to identify and fix the unresponsive app right away.
This helpful program also shows you the apps that consume too much memory a.k.a. Heavy Consumers. A direct access saves you time and allows to fix a frozen app in a matter of seconds. CleanMyMac also takes care of other performance issues, so if you want to get alerts when something goes wrong on your Mac, you can download its free version and give it a try.
Fixing an app that hangs frequently: Short tips
You may notice that a particular app freezes quite often. It is natural to assume that there is something wrong with that application. But don’t worry, there are a few things you can do to fix the hanging app.
Os X Force Shutdown With Terminal
First of all, update an app to the latest version. App developers are constantly working on improvements, trying to deliver the best experience to users. The latest update may resolve all problems with the freezing app.
The next step is to clear the app’s cache, especially if you use it frequently. If there’s not enough free storage, a program won’t run smoothly. Once you delete the cache files, an app may start working normally.
You may also try to delete an app and reinstall it. Usually it resolves the problem of a frozen app.
What to do when your Mac freezes
Typically it’s just an app that hangs, but on rare occasions the Mac may freeze entirely and become completely unresponsive to anything. This is often accompanied by fans that work quite loudly, demonstrating a fully frozen Mac. To solve the problem, you need to shut down your computer and boot it again.
Here’s how to force reboot your Mac:
- Hold down the Power button until your Mac shuts down completely. This may take about 5 seconds.
- Wait a few seconds and then hit the Power button again to boot the Mac.
As you may presume, this method is not perfect. Any unsaved information may be lost due to the sudden shutdown. However, sometimes it’s the only way to make your computer running.
That’s it. We hope this guide has helped you to force close Mac app that’s not responding. Keep in mind, with regular maintenance, your computer will be at tip-top shape, running at its best. And software like CleanMyMac X can help you keep an eye on your Mac. It can reset and delete apps, free up RAM, clean up the system, take care of the startup programs that slow down your computer, and speed up your Mac with its maintenance scripts. And that’s what will help you avoid problems with frozen apps on your Mac.
Force Shutdown Xp
Thanks for reading and stay tuned!