上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 408 下一页
摘要: 1、问题 [root@centos79 software]# dnf install R bash: dnf: command not found... 2、安装dnf [root@centos79 software]# yum install epel-release Loaded plugins 阅读全文
posted @ 2021-06-27 23:03 小鲨鱼2018 阅读(10028) 评论(0) 推荐(2)
摘要: 1、默认情况下root不能登录ssh 2、修改ssh服务配置文件 root@ubuntu01:~/Desktop# whoami root root@ubuntu01:~/Desktop# vim /etc/ssh/sshd_config ………… # Authentication: #LoginG 阅读全文
posted @ 2021-06-27 12:34 小鲨鱼2018 阅读(112) 评论(0) 推荐(0)
摘要: 1、查看当前主机名 root@liujiaxin01-virtual-machine:~/Desktop# hostname liujiaxin01-virtual-machine ##太长 2、修改主机名 root@liujiaxin01-virtual-machine:~/Desktop# wh 阅读全文
posted @ 2021-06-27 12:26 小鲨鱼2018 阅读(711) 评论(0) 推荐(0)
摘要: Ubuntu 20.04.2默认不能进行root登录 1、查看系统版本 liujiaxin01@liujiaxin01-virtual-machine:~/Desktop$ whoami liujiaxin01 liujiaxin01@liujiaxin01-virtual-machine:~/De 阅读全文
posted @ 2021-06-27 12:20 小鲨鱼2018 阅读(661) 评论(0) 推荐(0)
摘要: 1、问题 (1)、传输工具 2、安装ssh服务 liujiaxin01@liujiaxin01-virtual-machine:~$ whoami liujiaxin01 liujiaxin01@liujiaxin01-virtual-machine:~$ sudo apt-get install 阅读全文
posted @ 2021-06-27 11:44 小鲨鱼2018 阅读(180) 评论(0) 推荐(0)
摘要: 1、系统信息 liujiaxin01@liujiaxin01-virtual-machine:~/Desktop$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.0 阅读全文
posted @ 2021-06-27 11:33 小鲨鱼2018 阅读(1957) 评论(0) 推荐(0)
摘要: 1、问题 [root@localhost ~]# systemctl restart network Failed to restart network.service: Unit network.service not found. 2、查看iP [root@localhost ~]# ifcon 阅读全文
posted @ 2021-06-26 13:59 小鲨鱼2018 阅读(2499) 评论(0) 推荐(0)
摘要: 1、测试数据 [root@centos7 test]# cat a.txt 4 8 2 6 2、直接求和 [root@centos7 test]# awk '{sum += $1}END{print sum}' a.txt 20 3、累积求和 [root@centos7 test]# cat a.t 阅读全文
posted @ 2021-06-25 00:51 小鲨鱼2018 阅读(3781) 评论(0) 推荐(0)
摘要: 1、创建测试文件: [root@centos7 test]# touch {a..f}.txt [root@centos7 test]# ls a.txt b.txt c.txt d.txt e.txt f.txt 2、删除b.txt文件以外的所有文件 method1: [root@centos7 阅读全文
posted @ 2021-06-25 00:06 小鲨鱼2018 阅读(447) 评论(0) 推荐(0)
摘要: 以centos7.9为例。 1、 [root@centos7 test]# uname -a Linux centos7 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 阅读全文
posted @ 2021-06-24 23:35 小鲨鱼2018 阅读(1627) 评论(0) 推荐(0)
上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 408 下一页