Question or issue on macOS:
- Terminal Command To Mountain Lion On Mac
- Terminal Command To Mountain Lion Online
- Terminal Command To Mountain Lion Using
- Terminal Command To Mountain Lion On Pc
This SO post explains very well how to install command line tools for Xcode 4.4.
Despite setting the power saving options to never let the system sleep, Mountain Lion will inadvertently go for a snooze and it takes a Terminal command to stop it. Caffeinate -t 86400 The number following the t is the time in seconds to keep the Mac awake and can be altered to any other time you like. About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features Press Copyright Contact us Creators.
But how to uninstall them?
How to solve this problem?

Solution no. 1:
There’s a script listed on this page to do just that on Mountain Lion: http://www.cocoanetics.com/2012/07/you-dont-need-the-xcode-command-line-tools/
Install the latest version and set as current users' default shell: brew install zsh && chsh -s $ (brew -prefix) /bin/zsh. Homepage - Zsh is a shell designed for interactive use, although it is also a powerful scripting language. Oh My Zsh - An open source, community-driven framework for managing your Zsh configuration.
Copy the script into a text file.
Save it as remove_CLI_tools.sh
Open terminal and navigate to the folder where you saved the script.
Type: sh remove_CLI_tools.sh
I installed just the isolated command line tools (stand alone installer) without installing the Xcode application. So I ended up running the script twice, changing the variables at the top for each of the packages installed by the installer
(you can check which packages were installed by looking in the hidden “Packages” file of the .dmg image of the installer):com.apple.pkg.DeveloperToolsCLI.bom and .plistcom.apple.pkg.DevSDK.bom and .plist
Be careful (have a backup, like the post recommends).
Solution no. 2:
sudo /Developer/Library/uninstall-devtools –mode=all works for 10.8.5
Solution no. 3:
This should still work to remove xcode.
Solution no. 4:
sudo /Library/Developer/Shared/uninstall-devtools –mode=all

Hope this helps!
How To: Reset Mac OS X Lion/Mountain Lion to factory default
How to reset Mac OS X Lion/Mountain Lion to Factory Default
Always make a fresh backup before you will get under the hood of your MAC!
BE VERY CAREFUL WHEN USING THE “rm” command as you may delete your whole drive!
DO THIS AT YOUR OWN RISK. I TAKE NO RESPONSIBILITY FOR ACCIDENTAL LOST OF DATA.
BACKUP IF DOING THIS WHERE THERE IS DATA ON THE DRIVE NEEDED TO BE SAVED
REQUIRED USER LEVEL: USER WITH ADVANCED KNOWLEDGE OF THE MAC OS X AND SELL !
Recently I have a client which asked me to reset his MBP to factory default. This client purchased latest Retina MBP and want to sell old one.
Terminal Command To Mountain Lion On Mac
first of all you need to clean your Do
One of the important thing which you need to do –deauthorizing a computer. Open your iTunes and go to Store and click on the “Deauthorize This computer…” then if you have Audible account go to Advanced and “Deauthorize Audible Account…”
You will need to start your mac in Single User mode to clean disk and system . Reboot your system and immediately after Mac startup sound press and hold following combination: ⌘+S
Users of Mac-mini with non Apple keyboard: I cannot guaranty you will be able to get in to single user mode.
1.
For beginning to prevent any OS damage please execute following command
Now it is time to load OpenDirectory service:
For MAC OS X up to 10.6
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
If you have Mac OS X 10.7 and newer:

launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
2.
To check in which groups you are listed, enter:
dscl . -list /groups GroupMembership | grep yourusername
Most likely you will receive following respond from the system.
root#dscl . -list /groups GroupMembership | grep yourusername_appserveradm yourusername_appserverusr
yourusername_lpadmin
yourusernameadmin root
yourusernamecom.apple.sharepoint.group.1
yourusernamestuff
yourusernamedscl . delete /groups/groupnameGroupMembership yourusernameTerminal Command To Mountain Lion Online
rm/private/var/db/dslocal/nodes/Default/users/yourusername.plistrm-rf /Library/Preferences/*
rm-rf /Library/Logs/*
rm-rf /private/var/log/*rm-rf /Library/Caches/*rm-rf /System/Library/Caches/*rm/private/var/vm/swapfile*rm-rf /private/var/folders/*