当前位置: 移动技术网 > 移动技术>移动开发>Android > 杂记

杂记

2020年08月01日  | 移动技术网移动技术  | 我要评论
service --status-allsystemd-analyze blameservice openbsd-inetd status 查看某个服务的状态update-rc.d –f openbsd-inetd remove添加一个服务:sudo update-rc.d srv_name defaults 99删除一个服务 :sudo update-rc.d –f test removesystemctl list-unit-files | grep enabled 列出所有开启的服务.

service --status-all
systemd-analyze blame
service openbsd-inetd status  查看某个服务的状态
update-rc.d –f openbsd-inetd remove
添加一个服务:sudo update-rc.d srv_name defaults 99
删除一个服务 :sudo update-rc.d –f test remove

systemctl list-unit-files | grep enabled 列出所有开启的服务

systemctl disable mongodb.service 禁用该服务开机启动


service unattended-upgrades status

目前测试,删除启动项不行,可能需要更改服务配置

route add -net default gw 192.168.1.1 dev eth0
route add -net default gw 10.0.0.1 dev enx001e101f0000

dpkg -L packagename

dpkg -L +软件包的名字,可以知道这个软件包包含了哪些文件, 这个方法可以列出所有安装后留在系统里的文件

ping www.baidu.com -I enx001e101f0000 -c 5
ping 114.114.114.114 -I enx001e101f0000 -c 5
ping www.baidu.com -S 10.73.87.153 -c 5
ping 114.114.114.114 -S 10.73.87.153 -c 5

本文地址:https://blog.csdn.net/qq_43400642/article/details/108127319

如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网