摘要: bashrc与profile的区别 要搞清bashrc与profile的区别,首先要弄明白什么是交互式shell和非交互式shell,什么是login shell 和non-login shell。 交互式模式就是shell等待你的输入,并且执行你提交的命令。这种模式被称作交互式是因为shell与用 阅读全文
posted @ 2017-04-05 22:46 宏来 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1. 安装golang 2. 环境配置 插入如下代码: 重新加载.bashrc文件 source ~/.bashrc 3、工作空间的目录结构 /opt/go -src 存放源代码(.go .c .h .s等) -pkg 编译后生成的文件(.a) -bin 编译后生成的可执行文件 4、开发应用包(包名 阅读全文
posted @ 2017-04-05 22:43 宏来 阅读(958) 评论(0) 推荐(0) 编辑