mac-processor-info

所属分类:嵌入式/单片机/硬件编程
开发工具:Shell
文件大小:1KB
下载次数:0
上传日期:2016-03-02 09:49:20
上 传 者sh-1993
说明:  使用处理器打开ark.intel.com(对于使用英特尔处理器的mac)
(Open ark.intel.com with your processor (for mac s with intel processors))

文件列表:
processor-info.sh (104, 2016-03-02)

# Mac Processor Info This will open [ark.intel.com](http://ark.intel.com) in your default browser with info about your cpu. ## Usage `./processor-info.sh` in Terminal, or integrate the oneliner in any way you want. ## How does it work? The script is pretty short: ``` open http://ark.intel.com/search?q=$(sysctl -n machdep.cpu.brand_string | awk '{print $3}') ↑ ↑ ↑ ↑ | | | └ print only the model | | └ get the branded cpu model | └ the url of search on intel └ open in default application ``` For example my processor will output , which gets redirected to the full page () It's edited from [this](http://superuser.com/a/436***9) answer on the superuser stackexchange. That answer searches on Google, my version goes to intel directly. # License CC0

近期下载者

相关文件


收藏者