linux 常用命令

来源:互联网 发布:python 三引号 编辑:程序博客网 时间:2024/06/15 20:54

netstat -ano | more 查看所有端口
netstat -ano | grep 8088 查看8088端口

配置程序开机启动:
编辑/etc/rc.lcoal文件,加入
su - peter -c '/usr/local/zookeeper/bin/zkServer.sh start'