上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 403 下一页
摘要: 001、 df <- data.frame(A = c(1, 2, 3), B = c(4, 5, 6), C = c(7, 8, 9)) row.names(df) <- c("mm", "qq", "dd") df cbind(com1 = rownames(df), df) ## 行号转换为第 阅读全文
posted @ 2024-09-04 10:08 小鲨鱼2018 阅读(338) 评论(0) 推荐(0)
摘要: 001、 [root@localhost test]# ls test.c [root@localhost test]# cat test.c #include <stdio.h> int main(void) { int n1,n2; puts("please input two integers 阅读全文
posted @ 2024-09-04 09:27 小鲨鱼2018 阅读(18) 评论(0) 推荐(0)
摘要: 001、相等运算符 == != 002、关系运算符 > >= < <= 003、条件运算符 a ? b:c [root@localhost test]# ls test.c [root@localhost test]# cat test.c #include <stdio.h> int main(v 阅读全文
posted @ 2024-09-04 09:12 小鲨鱼2018 阅读(20) 评论(0) 推荐(0)
摘要: 001、c语言中条件运算符 [root@localhost test]# cat test.c ## 测试程序 #include <stdio.h> int main(void) { int n1, n2, max; puts("please input two integers"); printf 阅读全文
posted @ 2024-09-03 12:59 小鲨鱼2018 阅读(23) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test]# ls a.txt idx.txt [root@PC1 test]# cat a.txt 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 阅读全文
posted @ 2024-09-02 10:59 小鲨鱼2018 阅读(48) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据如下 a 8 a 3 b 2 e 2 d 10 b 3 b 7 e 4 [root@PC1 test]# awk '{ay[$1] += $2; ay2[$1]++} E 阅读全文
posted @ 2024-09-01 22:28 小鲨鱼2018 阅读(47) 评论(0) 推荐(0)
摘要: 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 阅读(40) 评论(0) 推荐(0)
摘要: 001、查看系统信息 [root@localhost ~]# hostnamectl Static hostname: localhost.localdomain Icon name: computer-vm Chassis: vm Machine ID: 0f5ac3970da4429fa028c 阅读全文
posted @ 2024-08-21 12:43 小鲨鱼2018 阅读(2592) 评论(0) 推荐(0)
摘要: 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 阅读(64) 评论(0) 推荐(0)
摘要: 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 阅读(79) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 403 下一页