Linux 其他命令

BUG之神 62

其他命令

查看系统位数

Shell
  1. getconf  LONG_BIT

查看系统位数

Shell
  1. getconf  LONG_BIT

查看指定程序的进程

Shell
  1. ps aux | grep xxx

查看防火墙状态

Shell
  1. service iptables status

停止防火墙

Shell
  1. service iptables stop

启动防火墙

Shell
  1. service iptables start

禁用防火墙

Shell
  1. chkconfig iptables off

更改文件权限

Shell
  1. chmod  u+/xx/xx

手动更新时间

Shell
  1. ntpdate  0.centos.pool.ntp.org

分享