摘要: 客户端敲shutdown 或kill -9 进程号 阅读全文
posted @ 2024-06-16 19:25 tslam 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 查看主机名 cat /etc/hostname 永久修改 hostnamectl set-hostname 新名字 执行完上面命令后 执行一下bash命令 # 则立即生效 阅读全文
posted @ 2024-06-16 16:56 tslam 阅读(3) 评论(0) 推荐(0) 编辑
摘要: systemctl status sshd 阅读全文
posted @ 2024-06-16 16:46 tslam 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 图 阅读全文
posted @ 2024-06-16 16:31 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: mount命令的功能是将文件系统挂载到目录。文件系统指的是被格式化过的硬盘或分区设备,进行挂载操作后,用户便可以在挂载目录中使用硬盘资源‍了。原文链接:https://www.linuxcool.com/mount 挂载的命令 mount [磁盘路径] [挂载的路径] 查看本机挂载的命令 [root 阅读全文
posted @ 2024-06-16 16:19 tslam 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1、如查看vim进程 [root@localhost ~]# ps -ef | grep vim 2、杀死vim进程 [root@localhost ~]# kill -9 pid号 阅读全文
posted @ 2024-06-16 15:33 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: tail -f [要监控的文件] 阅读全文
posted @ 2024-06-16 12:36 tslam 阅读(3) 评论(0) 推荐(0) 编辑
摘要: which 命令 阅读全文
posted @ 2024-06-16 11:42 tslam 阅读(3) 评论(0) 推荐(0) 编辑