Linux运维常用的几个命令介绍 1. 查看系统内核版本 [root@funsion geekxa]# cat /etc/issue CentOS release 6.5 (Final) Kernel \r on an \m 显示了系统名称(CentOS)和内核版本(release 6.5)The file /etc/issue is a text file which contains a message or system identification to be printed befo…
下面介绍在 Linux 操作系统中重启和关闭相关的命令:shutdown.reboot.init.halt.poweroff.systemctl,你可以根据需要来选择适合的 Linux 命令关闭或重新启动系统.其中 shutdown.halt.poweroff.reboot 命令是用来停机.重启或切断电源, systemctl 命令管理 systemd,是 Linux 系统和服务器的管理程序. 使用 shutdown 命令关闭和重启 Linux 系统 shutdown 命令用于断电或重启本地和远…
一.Linux命令行结尾的提示符有“#”和“$”两种不同的符号,代码如下所示: [root@localhost ~]# ls anaconda-ks.cfg Desktop Documents mine2 Pictures post-install.log python software Videos bin dev Downloads Music post-install Public shell_script Templates [root@localhost ~]# su - ghostw…