会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
92
93
94
95
96
97
98
99
100
···
408
下一页
2023年9月18日
linux 中设置粘滞位权限
摘要: 对目录进行粘滞位设置,实现用户只能删除自己的文件,而不能删除别人的文件。 文件能否被删除并不取决于自身的权限,而是看其所在目录是否有写入权限。 001、 [root@pc1 home]# ls liujiaxin01 liujiaxin02 [root@pc1 home]# whoami ## 当前
阅读全文
posted @ 2023-09-18 21:53 小鲨鱼2018
阅读(70)
评论(0)
推荐(0)
2023年9月17日
linux 中 setfacl 命令
摘要: setfacl(set file access control lists)设置文件访问控制列表。 文件的ACL(访问控制列表)提供的是在所有者、所属组、其他人的读、写、执行权限以外的特殊权限控制,使用setfacl命令可以针对 单一用户或用户组、单一文件或者目录来进行、读、写、执行的控制。 001
阅读全文
posted @ 2023-09-17 10:36 小鲨鱼2018
阅读(1290)
评论(0)
推荐(0)
2023年9月16日
内存参数
摘要: 001、频率 002、马甲 003、灯条 004、品牌 005、时序 006、颗粒 007、DDR1、DDR2、DDR3、DDR4 .
阅读全文
posted @ 2023-09-16 11:42 小鲨鱼2018
阅读(49)
评论(0)
推荐(0)
2023年9月15日
linux 中 退出conda环境设置python3环境变量
摘要: 001、conda基础环境 (base) [root@pc1 home]# python3 --version Python 3.11.4 (base) [root@pc1 home]# 002、退出conda base环境 (base) [root@pc1 home]# conda deactiv
阅读全文
posted @ 2023-09-15 12:09 小鲨鱼2018
阅读(627)
评论(0)
推荐(0)
linux 中 readlink、realpath、find输出软链接文件绝对路径的差异
摘要: 001、 [root@pc1 test1]# ls ## 三个测试文件 a.txt b.txt testfile [root@pc1 test1]# ll -h total 4.0K lrwxrwxrwx. 1 root root 20 Sep 16 12:03 a.txt -> /home/tes
阅读全文
posted @ 2023-09-15 12:06 小鲨鱼2018
阅读(179)
评论(0)
推荐(0)
linux 中 find命令查找输出文件的绝对路径
摘要: 001、 [root@pc1 test1]# ls ## 测试文件 a.txt a.TXT c.csv c.tXt d.txt e.Txt f.csv k.map [root@pc1 test1]# find ./ -name "*.txt" ## 显示相对路径 ./a.txt ./d.txt [r
阅读全文
posted @ 2023-09-15 11:58 小鲨鱼2018
阅读(1925)
评论(0)
推荐(0)
linux 中 find命令忽略大小写查找文件
摘要: 001、 -iname选项 实现忽略大小写查找 [root@pc1 test1]# ls ## 测试文件 a.txt a.TXT c.csv c.tXt d.txt e.Txt f.csv k.map [root@pc1 test1]# find ./ -name "*.txt" ## 一般查找 .
阅读全文
posted @ 2023-09-15 11:48 小鲨鱼2018
阅读(215)
评论(0)
推荐(0)
2023年9月13日
linux中如何防止重要文件被意外删除
摘要: 001、 针对普通用户 [liujiaxin01@pc1 ~]$ ls test01 [liujiaxin01@pc1 ~]$ pwd ## 普通用户家目录 /home/liujiaxin01 [liujiaxin01@pc1 ~]$ tree ## 重要文件所在目录 . └── test01 └─
阅读全文
posted @ 2023-09-13 22:49 小鲨鱼2018
阅读(180)
评论(0)
推荐(0)
linux 中实现按照行交叉合并两个文件
摘要: 001、方法1 [root@pc1 test01]# ls a.txt b.txt [root@pc1 test01]# cat a.txt 1 2 3 4 5 6 [root@pc1 test01]# cat b.txt a b c d e f [root@pc1 test01]# paste -
阅读全文
posted @ 2023-09-13 18:04 小鲨鱼2018
阅读(285)
评论(0)
推荐(1)
linux中实现两个文件按照指定列合并
摘要: 001、 提取两个文件中指定列相同的行 [root@pc1 test01]# ls file1 file2 [root@pc1 test01]# cat file1 a rs1 b rs2 c rs4 [root@pc1 test01]# cat file2 a 0.170721 -1.82031
阅读全文
posted @ 2023-09-13 17:36 小鲨鱼2018
阅读(662)
评论(0)
推荐(0)
上一页
1
···
92
93
94
95
96
97
98
99
100
···
408
下一页
公告