摘要: 运行结果: 阅读全文
posted @ 2017-05-21 10:16 杨来 阅读(3093) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: scanf2.c 3 > Author: Mr.Yang 4 > Purpose:scanf演示 5 > Created Time: 2017年05月21日 星期日 09时28分55秒 6 *****... 阅读全文
posted @ 2017-05-21 09:39 杨来 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 1.范例:如果指令串太长的话,如何使用两行来输出?[dmtsai@study ~]$ cp /var/spool/mail/root /etc/crontab \> /etc/fstab /root “\Enter” (\加键盘回车)即可实现 2.ctrl+u ctrl+k 分别代表光标处往前和光标 阅读全文
posted @ 2017-05-20 16:01 杨来 阅读(29031) 评论(0) 推荐(3) 编辑
摘要: 命令别名设定功能: (alias)假如我需要知道这个目录底下的所有文件 (包含隐藏档) 及所有的文件属性,那么我就必须要下达『 ls -al 』这样的指令串,比较麻烦,我们可以为其设定别名为lm alias lm='ls -al' 阅读全文
posted @ 2017-05-20 15:40 杨来 阅读(221) 评论(0) 推荐(0) 编辑
摘要: [Tab] 接在一串指令的第一个字的后面,则为命令补全; 实例怎么描述?什么叫一串指令的第一个字?[Tab] 接在一串指令的第二个字以后时,则为『文件补齐』 实例怎么描述?什么叫一串指令的第二个字?若安装 bash-completion 软件,则在某些指令后面使用 [tab] 按键时,可以进行『选项 阅读全文
posted @ 2017-05-20 15:35 杨来 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: clearing.c 3 > Author: Mr.Yang 4 > Purpose:演示流中剩余字符的解决方法 5 > Created Time: 2017年05月20... 阅读全文
posted @ 2017-05-20 14:43 杨来 阅读(632) 评论(1) 推荐(0) 编辑
摘要: 1.确保在debian下安装了挂载工具。2.进入windows关闭windows快速启动功能,关闭办法是控制面板,在电源管理中,选择关闭盖子的功能,点击“更改不能更改的选项”,去掉快速启动的钩,重启进linux查看挂载情况 阅读全文
posted @ 2017-05-20 10:09 杨来 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: getchar2.c 3 > Author: Mr.Yang 4 > Purpose:演示getchar输入整行文本 5 > Created Time: 2017年05月2... 阅读全文
posted @ 2017-05-20 09:59 杨来 阅读(11497) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: system.c 3 > Author: Mr.Yang 4 > Purpose:演示system()函数 5 > Created Time: 2017年05月19日 星期... 阅读全文
posted @ 2017-05-19 19:51 杨来 阅读(4085) 评论(0) 推荐(0) 编辑
摘要: 1.第一种“段错误”出现的场景 1 /************************************************************************* 2 > File Name: goto.c 3 > Author: Mr.Yang 4 > Purpose:演示goto的用法 (段错误出现的场景) 5 > Created... 阅读全文
posted @ 2017-05-19 18:55 杨来 阅读(3523) 评论(0) 推荐(1) 编辑