Enable Mac OS X terminal commands

Source: Internet
Author: User

Run the Mac OS X terminal command to enable the function. 1. display the resource library in Lion. Method 1: Enter the following command in terminal: chflags nohidden ~ /Library/hide it in "terminal" and enter the following command: chflags hidden ~ /Library/Method 2: Open the Finder, and select to press and hold the option key in the menu to display the resource Library items (repeated operations are required each time ). 2. finder show hidden file enter the following command in "terminal": defaults write com. apple. finder AppleShowAllFiles-bool truekillall Finder recover hidden files enter the following command in terminal: defaults write com. apple. finder AppleShowAllFiles-bool falsekillall Finder 3. run the following command to uninstall Xcode: sudo/Library/uninstall-devtools-mode = all. By default, Xcode is installed in the/Developer directory, run sudo/Developer/Library/uninstall-devtools-mode = all 4. in the title bar of the Finder, display the complete path. in the terminal, enter the following command: defa Ults write com. apple. finder _ FXShowPosixPathInTitle-bool YESkillall Finder 5. when the screen capture function is removed (Command-Shift-4, space), the image is automatically added to a circle of shadows. If you do not like the shadow effect, you can turn it off. Enter the following command in terminal: defaults write com. apple. screencapture disable-shadow-bool truekillall SystemUIServer 6. force Safari to open a webpage in a new tag. Safari supports tag browsing by default. However, when we click a link on the page or click a link in another application, Safari often opens a new window, resulting in too many Safari windows on the page, which is difficult to manage. The following tips allow Safari to open a webpage in a new tag by default. Enter the following command in terminal: defaults write com. apple. safari TargetedClicksCreateTabs-bool true 7. changing the storage location of screenshot images Mac OS provides convenient screenshot shortcuts, allowing us to quickly take screenshots of the entire screen, part of the screen or application window. However, this screenshot function has one disadvantage: Only screenshots can be saved to the desktop. If we take a lot of screenshots, it will make the desktop look messy. Is there any way to change the default storage location of screenshot images? Yes. The method is very simple. You only need to enter the following command in the terminal. Defaults write com. apple. screencapture location storage location killall SystemUIServer can replace the "storage location" with a real folder when entering the command. For example, if you want to store data in the Screenshots folder of your user directory, enter defaults write com. apple. screencapture location ~ /Screenshots

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.