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