- 积分
- 64
- 最后登录
- 2015-11-15
- 精华
- 0
- 阅读权限
- 20
- 主题
- 6
- UID
- 2005418
- 帖子
- 85
- PB币
- 381
- 威望
- 5
- 贡献
- 0
- 技术
- 14
- 活跃
- 87
- UID
- 2005418
- 帖子
- 85
- PB币
- 381
- 贡献
- 0
- 技术
- 14
- 活跃
- 87
|
发表于 2015-2-17 09:03:01
IP属地广东
|显示全部楼层
本帖最后由 zyl910 于 2015-2-17 16:14 编辑
我本来准备参考这个帖子给显卡驱动打补丁
http://tieba.baidu.com/p/3378732512
教程:Yosetmite 10.10 IntelHD4600移动版驱动 总结
可在终端运行这个命令时报错——- sudo /usr/bin/perl -pi -e *s|\x3d\x86\x80\x12\x04\x74\x10\xeb\x5d|\x3d\x86\x80\x16\x04\x74\x10\xeb\x5d|g* AppleIntelHD5000Graphics
复制代码 搜了一下网上文章,把*改成',但还是报错——- sudo /usr/bin/perl -pi -e ‘s|\x3d\x86\x80\x12\x04\x74\x10\xeb\x5d|\x3d\x86\x80\x16\x04\x74\x10\xeb\x5d|g’ AppleIntelHD5000Graphics
复制代码 命令行记录——- bjjbgi-1-105:tool hmac$ sudo /usr/bin/perl -pi -e *s|\x3d\x86\x80\x12\x04\x74\x10\xeb\x5d|\x3d\x86\x80\x16\x04\x74\x10\xeb\x5d|g* AppleIntelHD5000Graphics
- -bash: x3dx86x80x12x04x74x10xebx5d: command not found
- -bash: x3dx86x80x16x04x74x10xebx5d: command not found
- -bash: g*: command not found
- -i used with no filenames on the command line, reading from STDIN.
- ^Cbjjbgi-1-105:tool hmac$
- bjjbgi-1-105:tool hmac$ sudo /usr/bin/perl -pi -e ‘s|\x3d\x86\x80\x12\x04\x74\x10\xeb\x5d|\x3d\x86\x80\x16\x04\x74\x10\xeb\x5d|g’ AppleIntelHD5000Graphics
- -bash: x3dx86x80x12x04x74x10xebx5d: command not found
- -bash: x3dx86x80x16x04x74x10xebx5d: command not found
- -bash: g’: command not found
- -i used with no filenames on the command line, reading from STDIN.
- Unrecognized character \xE2; marked by <-- HERE after <-- HERE near column 1 at -e line 1.
复制代码
请勿使用多线程下载工具下载论坛附件!
请问怎样才能执行perl -pi -e命令? |
|