摘要:
systemctl is-enabled iptables.servicesystemctl is-enabled servicename.service #查询服务是否开机启动systemctl enable *.service #开机运行服务systemctl disable *.service 阅读全文
posted @ 2019-09-27 17:00
beawh
阅读(265)
评论(0)
推荐(0)
摘要:
连接数据库, 默认的用户和数据库是postgres psql -U user -d dbname 切换数据库,相当于mysql的use dbname \c dbname 列举数据库,相当于mysql的show databases \l 列举表,相当于mysql的show tables \dt 查看表 阅读全文
posted @ 2019-09-27 16:57
beawh
阅读(4654)
评论(0)
推荐(0)
摘要:
sed -i /HISTSIZE/s/=1000/=0/g /etc/profile source /etc/profile 阅读全文
posted @ 2019-09-27 09:37
beawh
阅读(742)
评论(0)
推荐(0)

浙公网安备 33010602011771号