Linux 常用指令
linux 常用命令集锦
Common
echo "--help"|cat echo "--help"|xargs cat
memcache: telnet host port 强制退出:ctrl + ']' stats stats cachedump slabs_id limit_num# 下面任务可以在 chkconfig 配置自启动 /etc/init.d/* # 直接写到脚本里面 /etc/rc.local # 查看某个服务(下面以redis为例)是否自启动 chkconfig --list|grep redis # 如果 3,4,5为 off则不会自启动sudo -u news_db spark-submit --master local[*] --conf spark.ui.port=12399 --queue offline --py-files pyspark_dashboard_util.py pyspark_dashboard.py
systemctl
Git
Last updated