摘要: 1 /************************************************************************* 2 > File Name: continue.c 3 > Author: Mr.Yang 4 > Purpose:continue的运用 5 > Created Time: 2017年05月19日 ... 阅读全文
posted @ 2017-05-19 18:32 杨来 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 1、上传本地文件到服务器 scp /path/filename username@servername:/path/ 2、从服务器上下载文件 scp username@servername:/path/filename /var/www/local_dir(本地目录) 3.从服务器下载整个目录 sc 阅读全文
posted @ 2017-05-19 16:55 杨来 阅读(3474) 评论(1) 推荐(0) 编辑
摘要: 1.同时打开多个文件:vi 1.txt 2.txt 3.txt 在多个文件中来回切换,命令行模式输入“:next"表示下一个,输入":previous"代表进入上一个,”:rewind“表示进入第一个文件,”:last“表示进入最后一个文件 2.在当前行上面新插入一行,命令行模式输入”O“ ,在当前 阅读全文
posted @ 2017-05-19 15:17 杨来 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1 /************************************************************************* 2 > File Name: mybreaking.c ... 阅读全文
posted @ 2017-05-19 13:32 杨来 阅读(7459) 评论(0) 推荐(0) 编辑
摘要: apt-get install kde-l10n-zhcn, language里面改中文 亲测可用 来源:http://tieba.baidu.com/p/2489771177 阅读全文
posted @ 2017-05-19 10:13 杨来 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 1: cat 1.txt 2.txt 3.txt > 4.txt 这个操作可以把前三个文件的内容全部复制到第四个文件中去 阅读全文
posted @ 2017-05-18 21:10 杨来 阅读(511) 评论(0) 推荐(0) 编辑
摘要: 1.错误描述: /tmp/ccAu32Cb.o:在函数‘main’中:static.c:(.text+0x2d):对‘print_value’未定义的引用 2.通过对错误内容分析,我在编写程序时,main函数中引用了一个定义的函数“print_value”,但我编译时此处却报了错误,说我未定义的引用 阅读全文
posted @ 2017-05-18 19:31 杨来 阅读(7942) 评论(0) 推荐(0) 编辑
摘要: 第一步:sudo vi /etc/systemd/logind.conf /*最好备份下再修改*/ 把下面的参数改为ignoreHandleLidSwitch=ignore第二步: sudo service systemd-logind restart来源:http://www.jianshu.co 阅读全文
posted @ 2017-05-18 17:22 杨来 阅读(5153) 评论(0) 推荐(0) 编辑
摘要: 1.安装ntpdate 2.设置当前年月 如:sudo date -s 2017-05-18 3.同步:sudo ntpdate /usr/sbin/ntpdate time.nist.gov 阅读全文
posted @ 2017-05-18 16:07 杨来 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 安装ATI显卡驱动(开源)(方法步骤来自Debian WiKi) A.先升级可用的包 A.先升级可用的包 # aptitude upgrade B.安装下面3个包 B.安装下面3个包 # apt-get install firmware-linux-nonfree libgl1-mesa-dri x 阅读全文
posted @ 2017-05-17 21:40 杨来 阅读(627) 评论(0) 推荐(0) 编辑