MacOS | Command-line Operations mark

Source: Internet
Author: User
mac View file encoding#查看编码vi file path: Set fileencoding# change encoding iconv-f utf-8-T GBK file path > new file path mac under update. bash_prof Ile file #配置全局变量1, open terminal (terminal) 2, cd ~ (enter the current user's home directory) 3, open. Bash_profile (opens. bash_profile file) 4, Direct change popup. Bash_ Profile file Contents 5, Command + s Save the file, then close 6, enter source in terminal (terminal). Bash_profile (using what was just updated) mac open/usr/local directory Mac/usr/local Directory default is for the Finder is hidden, if necessary to/usr/local down, open the Finder, and then use Command+shift+g, in the pop-up directory to fill in/usr/local. Continuous update ... Note: Currently blogging is for knowledge and note-taking. The blog itself may still have some errors, if found, request treatise. Other bloggers to share the forgotten Mark Source, please remind, thank you.

MacOS | Command-line Operations mark

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.