摘要: 笔记本centos7系统屏幕默认最低亮度,无法调亮 原因是显卡驱动和系统内核不兼容导致。 解决方法: 方法1更新显卡驱动 或者方法2升级内核: 1 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org 2 rpm -Uvh http:/ 阅读全文
posted @ 2023-05-11 09:17 肖战的战 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 背景介绍 安装了NVIDIA驱动程序,同时也安装了CUDA,但使用nvcc -V命令提示不存在,如下所示: 1 Command 'nvcc' not found, but can be installed with: 2 sudo apt install nvidia-cuda-toolkit 知识 阅读全文
posted @ 2023-05-11 09:04 肖战的战 阅读(6274) 评论(0) 推荐(0) 编辑
摘要: 1、Linux 查看其公网 IP 地址 1 [root@localhost ~]# curl ifconfig.me 2 xx.xx.xx.xx 如果该命令无效,可以使用下面一个命令,也同样可可以查看到本机连接的公网信息 1 [root@localhost ~]# curl cip.cc 2 IP 阅读全文
posted @ 2023-05-11 08:49 肖战的战 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1、文件追加拼接 cat BB.txt >> AA.txt 2、AA原文分别取前三列和第四列(四列后) -d是指定分隔符的意思,[-d',']是以逗号为分隔符,[-d'\t']是以制表符为分隔符 cut -d',' -f1-3 AA.csv > 1-3.csv cut -d',' -f4- AA.c 阅读全文
posted @ 2023-05-10 16:38 肖战的战 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1、查看服务器型号 1 [root@localhost ~]# dmidecode | grep "Product" 2 Product Name: RH2288H V3 3 Product Name: BC11H**** 2、查看服务器的序列号 1 [root@localhost ~]# dmid 阅读全文
posted @ 2023-04-06 12:19 肖战的战 阅读(5062) 评论(0) 推荐(0) 编辑