标签:round body tar its long idt type 32位 status
关机与重启命令
shutdown -h now shutdown -r 10 shutdown -r 23:59
显示目录文件
ls -a /etc/
查看名称包含telnet的软件是否已安装 (| grep 表示匹配的意思)
ypm-qa | grep telnet
切换praybb用户
us praybb
查看系统分区
df -h # df -k df –l
查看源列表
yum list |grep telnet #查看源列表中匹配telnet的软件
安装源软件
yum install telnet.x86_64 #安装telnet.x86_64软件
服务的操作
关键字:
start | enable | disable | status | restart | systemctl list -units --type=service |
启动 | 开机启动 | 删除开机启动 | 查看状态 | 重新启动 | 查看已启动的服务 |
systemctl #显示正在运行的服务
systemctl enable nfs-server.service
#设置开机启动NFS服务,查看centos版本号
cat /etc/redhat-release
查看centos系统是64位还是32位
getconf LONG_BIT
标签:round body tar its long idt type 32位 status
原文地址:http://www.cnblogs.com/praybb/p/5978142.html