上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 77 下一页
摘要: 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)
摘要: 答:用来调试 阅读全文
posted @ 2018-12-20 23:26 Jello 阅读(1615) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 1.这个变量是在什么地方定义的? 答:系统定义的 2.这个变量在什么场景下使用? 答:在解析命令行参数时会用到 3.这个变量存在的意义? 在每调用一次getopt()或getopt_long()类似函数时此值会递增1 阅读全文
posted @ 2018-12-19 18:38 Jello 阅读(591) 评论(0) 推荐(0)
摘要: 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)
摘要: 将sd卡的某个分区下的某个目录里的某个文件加载到内存的某个地址,示例如下: ext4load mmc 0:1 0xa0000000 /bin/vi 阅读全文
posted @ 2018-12-18 15:34 Jello 阅读(3666) 评论(0) 推荐(0)
摘要: 列出sd卡的第一个分区里/bin目录下的内容,示例如下: ext4ls mmc 0:1 /bin 阅读全文
posted @ 2018-12-18 15:31 Jello 阅读(2979) 评论(0) 推荐(0)
摘要: 答:/etc/wgetrc 这个文件里可以指定代理,如: http_proxy = http://myproxy.com:8080 阅读全文
posted @ 2018-12-16 17:06 Jello 阅读(1627) 评论(0) 推荐(0)
摘要: 答:在/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 下一页