Mac Terminal Terminal use

Source: Internet
Author: User

First, System_profiler spusbdatatype View all USB device information for Mac system

Second, [ write content to specified file ]

echo "0X1BBB" > ~/.android/adb_usb.ini (~/stands for all eligible parent directories)

Third, [Configure environment variables]

To open or create a configuration environment variable file

CD ~

Touch. Bash_profile

Open-e. Bash_profile (The key is this sentence, open the bash_profile directly with this editor, if the file is not created)

Source. Bash_profile (update the environment variables just configured to make the configuration effective)

The following is the configuration of the ADB and GRADLE environment variables

[Mac shows hidden folders]

Defaults write Com.apple.finder Appleshowallfiles-bool true (show)

Defaults write Com.apple.finder Appleshowallfiles-bool false (off)

(or defaults write Com.apple.finder appleshowallfiles yes/no)

Mac Terminal Terminal use

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.