会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
407
下一页
2024年8月22日
Linux 中 sed G选项在行后添加空行
摘要: 001、 简单测试 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 dfghghj hgfdwe [root@localhost test]# sed 'G' a.txt ## G在每一行添加空行 df
阅读全文
posted @ 2024-08-22 13:37 小鲨鱼2018
阅读(47)
评论(0)
推荐(0)
2024年8月21日
rocky8 中配置静态IP
摘要: 001、查看系统信息 [root@localhost ~]# hostnamectl Static hostname: localhost.localdomain Icon name: computer-vm Chassis: vm Machine ID: 0f5ac3970da4429fa028c
阅读全文
posted @ 2024-08-21 12:43 小鲨鱼2018
阅读(2857)
评论(0)
推荐(0)
rocky8中安装aspera软件
摘要: 001、系统 [liujiaxin01@PC1 ~]$ cat /etc/redhat-release Rocky Linux release 8.10 (Green Obsidian) 002、下载安装包(下载的4.2.12版本) [liujiaxin01@PC1 aspera]$ wget -c
阅读全文
posted @ 2024-08-21 12:10 小鲨鱼2018
阅读(75)
评论(0)
推荐(0)
centos7中aspera软件的安装
摘要: 001、查看系统 [liujiaxin01@PC1 aspera]$ cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 002、下载安装包 [liujiaxin01@PC1 aspera]$ ls [liujiaxin01@PC
阅读全文
posted @ 2024-08-21 11:52 小鲨鱼2018
阅读(87)
评论(0)
推荐(0)
2024年8月19日
c语言中%f输出double型和float型值
摘要: 001、 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c #include <stdio.h> int main(void) { double i; //声明double型 和 float型变量 float j; i = 3.14; j
阅读全文
posted @ 2024-08-19 23:35 小鲨鱼2018
阅读(74)
评论(0)
推荐(0)
c语言中%f和%lf读入浮点型数据
摘要: 001、a、%lf、和 %f读入double型值 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { double i, j; // 声明两个double
阅读全文
posted @ 2024-08-19 22:51 小鲨鱼2018
阅读(110)
评论(0)
推荐(0)
c语言中用%lf输出double型和float型变量
摘要: 001、 测试%lf输出double型和int型变量的差异 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <stdio.h> int main(void) { double i; /*声明doble型
阅读全文
posted @ 2024-08-19 21:54 小鲨鱼2018
阅读(55)
评论(0)
推荐(0)
c语言中读入整型数据和浮点型数据
摘要: 001、读入整型数据 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试脚本 #include <stdio.h> int main(void) { int i; //声明整型变量 puts("please input an in
阅读全文
posted @ 2024-08-19 21:37 小鲨鱼2018
阅读(125)
评论(0)
推荐(0)
2024年8月17日
Linux 中 实现每一行连续重复
摘要: 001、 sed实现 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
阅读全文
posted @ 2024-08-17 10:44 小鲨鱼2018
阅读(33)
评论(0)
推荐(0)
2024年8月14日
c语言中用整型格式化输出浮点型;还是用浮点型格式化输出整型都是不可行的
摘要: 001、整型格式化输出浮点型 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c #include <stdio.h> int main(void) { double i; //定义浮点型变量 i = 5.8; printf("i = %d\
阅读全文
posted @ 2024-08-14 10:58 小鲨鱼2018
阅读(58)
评论(0)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
407
下一页
公告