|--关机&重启命令基本介绍|--shutdown shutdown -h now 表示立即关机 shutdown -h 1 表示1分钟关机 shutdown -r now 立即重启 |--halt 效果等效于关机 |--reboot 重启系统 |--sync 把内存的数据同步到磁盘 建议关机或重启 ...
分类:
系统相关 时间:
2019-05-12 13:58:01
阅读次数:
161
Linux centos重启命令: 1、reboot 普通重启 2、shutdown -r now 立刻重启(root用户使用) 3、shutdown -r 10 过10分钟自动重启(root用户使用) 4、shutdown -r 20:35 在时间为20:35时候重启(root用户使用) 如果是通 ...
分类:
其他好文 时间:
2019-05-12 10:45:46
阅读次数:
308
linux忘记密码命令概括: 1.开机按e,rd.break,ctrl+x; 2.mount -o remount,rw /sysroot 3.chroot /sysroot 4.passwd(设置新密码) 5.touch /.autorelabel 6.exit 6.reboot 1、Linux系 ...
分类:
系统相关 时间:
2019-05-05 17:21:23
阅读次数:
200
sudo将是运维管理生产服务器的一个精细化的安全管理工具,也是一个运维必备的利器
分类:
其他好文 时间:
2019-05-01 10:28:09
阅读次数:
130
事情发生在写下这篇博客的半小时前。笔者的电脑本身是Manjaro+win10双系统并存,因为一些原因要安装ubuntu。 装完ubuntu用了一阵子,想切回manjaro,于是遇到了这个问题。 看到kernel panic的时候把我吓了一跳,怎么装个系统还能搞到连根文件系统都无法挂载了……仔细想想完 ...
分类:
编程语言 时间:
2019-05-01 01:20:02
阅读次数:
283
centos 7修改方式: hostnamectl set-hostname hostuser reboot 或者直接vi /etc/hostname 添加内容: hostuser 检查修改效果 [chenquan@hostuser ~]$ hostnamehostuser[chenquan@hos ...
分类:
系统相关 时间:
2019-04-30 20:20:33
阅读次数:
145
1.du 用来查看当前目录占用的磁盘空间大小 du -h 以K,M,G为单位显示 2.ifconfig 显示当前系统中网卡配置 临时设置网卡ip地址:ifconfig eth0 192.168.xxx.xxx reboot重启之后会自动恢复。 3.ping 用来测试网络的连通性 4.find 查找文 ...
分类:
系统相关 时间:
2019-04-28 15:37:43
阅读次数:
190
1 常用简单命令 echo date reboot poweroff wget ps top pidof kill killall 2 系统状态检测命令 ifconfig uname -a uptime free -h who history sosreport 3 工作目录切换 pwd cd - ...
分类:
系统相关 时间:
2019-04-24 23:30:49
阅读次数:
191
以rtl8196e为例 eth0:mac 地址设为123456789012 # flash set hw_nic0_addr 123456789012 eth1:mac 地址设为112233445566 # flash set hw_nic1_addr 112233445566 设置完成后要rebo ...
分类:
系统相关 时间:
2019-04-24 16:06:31
阅读次数:
179