摘要: 备份用户信息文件 cat /etc/passwd > passwd.txt ; cat /etc/shadow > shadow.txt ; 备份当前网络信息netstat -anp > netstat_anp.txt ; 备份历史命令cp ~/.bash_history history.txt ; 阅读全文
posted @ 2024-12-17 17:05 LB_运维技术 阅读(122) 评论(0) 推荐(0)
摘要: 查看超级用户(uid=0) awk -F: '$3==0{print $1}' /etc/passwd 阅读全文
posted @ 2024-12-17 16:55 LB_运维技术 阅读(68) 评论(0) 推荐(0)