会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
56
57
58
59
60
61
62
63
64
···
77
下一页
2018年12月21日
linux下tar的使用方法
摘要: 1.仅打包 tar -cvf hello.tar hello (输出文件大小为10240) 2.打包后压缩成gzip压缩格式 tar -czvf hello.tar.gz hello (输出文件大小为194) 3.打包后压缩成bzip2压缩格式 tar -cjvf hello.tar.bz2 hel
阅读全文
posted @ 2018-12-21 10:45 Jello
阅读(2127)
评论(0)
推荐(0)
2018年12月20日
shell脚本中set -x具有什么作用
摘要: 答:用来调试
阅读全文
posted @ 2018-12-20 23:26 Jello
阅读(1615)
评论(0)
推荐(0)
linux下如何制作ext4文件系统镜像
摘要: 1.生成一个空的2MiB文件 dd if=/dev/zero of=rootfs.ext4 bs=1024 count=2048 (指定每一块大小为1024字节,一共又2048块,那么就是2048 * 1024 B = 2MiB) 2.对生成的文件进行格式化 mkfs.ext4 rootfs.ext
阅读全文
posted @ 2018-12-20 18:03 Jello
阅读(8510)
评论(0)
推荐(0)
2018年12月19日
如何使用openwrt下的分区表生成器ptgen
摘要: 1.基本用法如下: ptgen [-v] -h <heads> -s <sectors> -o <outputfile> [-a 0..4] [-l <align kB>] [[-t <type>] -p <size>...] 2.各选项解析 -v: 指定是否打印调试信息,可选 -h: 指定起始磁头
阅读全文
posted @ 2018-12-19 20:35 Jello
阅读(1434)
评论(0)
推荐(0)
optind变量
摘要: 1.这个变量是在什么地方定义的? 答:系统定义的 2.这个变量在什么场景下使用? 答:在解析命令行参数时会用到 3.这个变量存在的意义? 在每调用一次getopt()或getopt_long()类似函数时此值会递增1
阅读全文
posted @ 2018-12-19 18:38 Jello
阅读(591)
评论(0)
推荐(0)
2018年12月18日
如何设置hyper-v下的ubuntu虚拟机分辨率
摘要: 1.登陆ubuntu虚拟机 2.vi /etc/default/grub,改变如下内容: 改变前: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 改变后: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv
阅读全文
posted @ 2018-12-18 16:04 Jello
阅读(1780)
评论(0)
推荐(0)
uboot下ext4load的用法
摘要: 将sd卡的某个分区下的某个目录里的某个文件加载到内存的某个地址,示例如下: ext4load mmc 0:1 0xa0000000 /bin/vi
阅读全文
posted @ 2018-12-18 15:34 Jello
阅读(3666)
评论(0)
推荐(0)
uboot下ext4ls的用法
摘要: 列出sd卡的第一个分区里/bin目录下的内容,示例如下: ext4ls mmc 0:1 /bin
阅读全文
posted @ 2018-12-18 15:31 Jello
阅读(2979)
评论(0)
推荐(0)
2018年12月16日
ubuntu下wget的配置文件在哪里
摘要: 答:/etc/wgetrc 这个文件里可以指定代理,如: http_proxy = http://myproxy.com:8080
阅读全文
posted @ 2018-12-16 17:06 Jello
阅读(1627)
评论(0)
推荐(0)
ubuntu下apt-get的配置文件是哪个
摘要: 答:在/etc/apt/apt.conf 这个配置文件里可以指定使用代理,如: Acquire::https::proxy "http://myproxy.com:8080/";
阅读全文
posted @ 2018-12-16 17:01 Jello
阅读(1937)
评论(0)
推荐(0)
上一页
1
···
56
57
58
59
60
61
62
63
64
···
77
下一页
公告