摘要: 001、打开一个测试文件, 在末行模式输入下面代码: vim a.txtaa bb root dd ROOt KK As rOOT DD Sd djjf ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ :map <F2> :echo "helle world!"<CR 阅读全文
posted @ 2024-04-03 16:34 小鲨鱼2018 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 001、系统 [root@PC1 home]# cat /etc/system-release ## rocky9 Rocky Linux release 9.3 (Blue Onyx) 002、调用lsb命令测试 [root@PC1 home]# lsb_release -a ## 无法调用 ba 阅读全文
posted @ 2024-04-03 15:08 小鲨鱼2018 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 001、centos7 [root@pc1 test01]# cat /etc/redhat-release ## 系统centos7 CentOS Linux release 7.6.1810 (Core) [root@pc1 test01]# ldd --version ## 利用ldd查询 l 阅读全文
posted @ 2024-04-03 12:39 小鲨鱼2018 阅读(275) 评论(0) 推荐(0) 编辑
摘要: centos 7 中 网络配置方式 netconnection网络配置方式到 netmanager改进了什么?为什么改? 阅读全文
posted @ 2024-04-03 11:43 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ubuntu desktop 和 ubuntu server 有什么区别? Ubuntu Desktop和Ubuntu Server的主要区别在于它们的用途、提供的界面、预装软件、性能优势不同。具体如下:12 用途不同。Ubuntu Desktop适用于个人电脑或办公室的图形界面环境,提供办公生产力 阅读全文
posted @ 2024-04-03 11:42 小鲨鱼2018 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: 001、测试1 centos7 [root@pc1 ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) ## centos7系统 [root@pc1 ~]# nmcli d ## 查看网络接口,ens32 DEVICE T 阅读全文
posted @ 2024-04-03 11:40 小鲨鱼2018 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 001、查看系统 [root@PC1 liujiaxin01]# cat /etc/system-release Rocky Linux release 9.3 (Blue Onyx) ## rocky9 002、进入配置文件目录 [root@PC1 liujiaxin01]# cd /etc/Ne 阅读全文
posted @ 2024-04-03 11:28 小鲨鱼2018 阅读(1873) 评论(0) 推荐(0) 编辑
摘要: rpm: redhat package management yum: yellow dog updater, modified rpm:解决单一rpm的依赖。 rpm本质上是一种包; yum:解决软件的所有的依赖,自动从服务器下载rmp包并且安装。yum本质上是一个安装包的软件。 参考: 01、h 阅读全文
posted @ 2024-04-03 11:26 小鲨鱼2018 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 001、问题 linux 中 很多服务的后面都加一个d是什么意思; 比如 sshd; httpd 002、解释 d是daemon的缩写,说明它自己是个守护进程(daemon) ,它在后台运行,一般都是用来做服务端程序。 所以后面都多了一个d,以方便大家理解这个程序的行为。 003、什么是守护进程 一 阅读全文
posted @ 2024-04-03 11:25 小鲨鱼2018 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 001、测试数据 [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt ee root kk aa ee ddd ee ROOT kk ee dd Root 002、 方法1 vim 打开查找文件, 在查找内容的后边增加\c, 如果不在末尾 阅读全文
posted @ 2024-04-03 11:17 小鲨鱼2018 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 001、问题, 安装完成rocky9, 发现ssh无法使用root登陆 a、系统 [root@PC1 home]# cat /etc/redhat-release Rocky Linux release 9.3 (Blue Onyx) b、root登陆出现如下界面 002、解决方法,在ssh服务的配 阅读全文
posted @ 2024-04-03 10:45 小鲨鱼2018 阅读(1414) 评论(0) 推荐(0) 编辑