[英]What is the difference between /etc/apache2 and /usr/sbin/apache2 in Ubuntu?
我想知道/usr/sbin/apache2
和/etc/apache2
之间到底有什么区别。 我有一个想法, /etc
包含所有已安装的包和必要的配置文件,但/usr/sbin/apache2
是我遇到的问题。 谁能帮我吗?
通常目录和其中的文件具有一定的含义:-
/etc - directory is for storing the configuration files.
/usr - /usr/bin - user's executable binary files
- /usr/sbin - user's executable binary files that can only be run with root privileges.
因此 /usr/sbin/apache2 是 apache2 命令的完整路径,如 apache2 命令所在的位置及其二进制文件。 /etc 中所有与 apache2 相关的文件都是它的配置文件。 希望有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.