2019年7月15日

摘要: The default $PS1 in Ubuntu consists of three parts: \[\e]0;\u@\h: \w\a\] This is an escape sequence which will set the terminal title text to $USER@$H 阅读全文
posted @ 2019-07-15 22:30 rivsidn 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 实例如下: 参考资料 https://blog.csdn.net/david_dai_1108/article/details/70478826 阅读全文
posted @ 2019-07-15 22:18 rivsidn 阅读(187) 评论(0) 推荐(0) 编辑
摘要: shell 基础 shell 基础 shell 变量 shell 字符串 shell 数组 shell 参数传递 shell 运算符 shell 文件测试 shell 流程控制 shell 重定向中的 & 符号 shell 函数 shell 文件包含 shell 符号 shell 内建命令 shel 阅读全文
posted @ 2019-07-15 22:18 rivsidn 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 编译 GCC编译的几个步骤 【消除unused错误】https://blog.csdn.net/cfqcfqcfqcfqcfq/article/details/54382282 gcc产生类型转换告警 枚举之后define 变量(指针) 二级指针(二) 操作符 语句 函数 printf 函数 关键字 阅读全文
posted @ 2019-07-15 22:12 rivsidn 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 打印带颜色的输出 控制字符的通用格式如下: Esc[{attr1};...;{attrn}m 其中: Esc 是转义字符, 其值为"\033"; [ 是常量的左中括号; {attr1};...{attrn} 是若干属性, 通常是由一个有特定意义的数字代替, 每个属性之间用分号分隔; m 就是字面常量 阅读全文
posted @ 2019-07-15 22:11 rivsidn 阅读(300) 评论(0) 推荐(0) 编辑

导航