关于centOS7的一些笔记

使用systemctl查看 开启 关闭服务:

  查看: systemctl status arcgis.server

  开启: systemctl start arcgis.server

  关闭: systemctl stop arcgis.server

查看当前目录下一级子文件和子目录占用的磁盘容量

   du -lh --max-depth=1

修改centos系统语言: 修改 /etc/profile 文件, 加入以下配置后重启:

1 LANG="en_US.UTF-8"
2 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL LANG
原文地址:https://www.cnblogs.com/yanwu0527/p/7797368.html