linux上课

 2023-09-11 阅读 25 评论 0

摘要:1.service--status-all 2.servicesshdrestart Shell 教程,3. service--status-all|grepssh 4.chkconfig--list 5.init 3进入字符界面 6.init 5 进入图形界面 7.init 6重新启动 8.chkconfig sshd on/off 9.useradd [选项]用户名 创建用户 10.cat /etc/shadow 重要文件,

1. service --status-all

2. service sshd restart

Shell 教程,3. service --status-all  | grep ssh

4. chkconfig --list
5.init 3进入字符界面
6.init 5 进入图形界面
7.init 6重新启动
8.chkconfig sshd on/off 
9.useradd [选项]用户名 创建用户
10.cat /etc/shadow 重要文件,保存密码,通常只有root能查看
11.fdisk 
12.cat /etc/fstab
13.cat /proc/cpuinfo 查看cpu信息
14. cat /proc/net/tcp 查看tcp信息
15.df -vh查看使用率信息
16.kill -9 +编号  强制杀死进程,如:
17.ping ip & 后台运行,可以输入其他命令

转载于:https://www.cnblogs.com/w1570631036/p/5698345.html

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/45443.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息