
Linux研究
shawncheer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu中安装qt不能启动的情况解决方案
错误提示: QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X server. Starting process: "/usr/bin/cmake" "--help" 解决方法: 第一:可以在启动的命令行中。加入 -noload Welcome 参数。 qtc原创 2016-08-03 15:53:43 · 13432 阅读 · 1 评论 -
awk-example
本文是在linux的shell下运行命令和解说: 本文参考了:http://man.linuxde.net/awk 风哥注:awk是一个和C语言一样的语言,和python语言在命令行中的使用一样,都要在允许的命令之前加python等标记。 一、解说-e是启用转义字符 shawn@shawn-ThinkStation-P700:~/桌面$ echo -e "A line 1原创 2016-09-18 15:56:13 · 379 阅读 · 0 评论 -
makefile的编写
视频教程: http://www.imooc.com/video/6206 关于tab和空格问题的解决: http://biancheng.dnbcw.info/linux/301859.html 空格替换为TAB: :set ts=4 :set noexpandtab :%retab! Makefile代码: #this is make file hello.ou原创 2016-12-09 18:43:44 · 366 阅读 · 0 评论 -
VirtualBox按装MintLinux时花屏
参考:https://blog.csdn.net/f_zongjian/article/details/53098533 解决方法:右侧Ctrl+F1切换到命令行模式,在右侧Ctrl+F7切换回图像界面。亲测有效!原创 2018-12-12 09:56:56 · 1043 阅读 · 0 评论 -
Virtualbox 实现文件拖拽与文字复制黏贴
再Virtualbox软件上的菜单栏->设备菜单,依次点击下面三个选项 @共享黏贴板 @拖放 @安装增强功能 the last but not the least operation is reboot the system installed on the Virtualbox....原创 2019-01-04 17:40:01 · 6158 阅读 · 0 评论 -
linux vbox install mint linux on usb device
refer on:https://askubuntu.com/questions/25596/how-to-set-up-usb-for-virtualbox原创 2018-12-26 00:04:56 · 153 阅读 · 0 评论 -
解决windows代码复制到linux上行末尾有^M
参考:https://www.zhihu.com/question/22130727 删除行尾的^M:%s/\r//g原创 2019-01-15 22:21:54 · 1202 阅读 · 0 评论 -
判断大小端代码
#include<iostream> using namespace std; int main(){ unsigned char arr[2]={1,2}; unsigned short *a =(unsigned short*)arr; cout<<"result: "<<*a<<endl; ...原创 2019-02-28 19:18:40 · 868 阅读 · 0 评论