当前位置:网站首页>The difference between /usr/local/bin and /usr/bin
The difference between /usr/local/bin and /usr/bin
2022-07-31 23:21:00 【larance】
First, the difference between /usr/sbin and /usr/bin:
1. /usr/sbin: Commands under root authority are basic system commands, such as shutdown, reboot, which are used to start the system and repair the system;
2. Ordinary user authority of /usr/bin, storing some common basic commands, such as ls, chmod, etc.;
Second, /usr/bin and /usr/local/bin:
First note that usr refers to Unix System Resource, not User
Then usually:
The executable programs under /usr/bin are all pre-installed executable programs in the system, which will change with the system upgrade.
/usr/local/bin directory is a place for users to place their own executable programs. It is recommended to place them here, so that files of the same name will not be overwritten by the system upgrade.
1. /usr/bin: The executable program pre-installed in the system will change with the system upgrade;
2. /usr/local/bin: The place where users put their own executable programs, it is recommended to put them here, and the files of the same name will not be overwritten by the system upgrade.
Refer to https://www.jianshu.com/p/5de2286b2e97
/usr/bin /usr/sbin /usr/local/bin /usr/local/sbin difference under Linux-Su's Jiaduobao- Blog Park
边栏推荐
猜你喜欢

20. Support vector machine - knowledge of mathematical principles

日常--Kali开启SSH(详细教程)

Collation of knowledge points in Ningbo University NBU IT project management final exam

Interview assault 69: TCP reliable?Why is that?

Write a database document management tool based on WPF repeating the wheel (1)

C程序设计-方法与实践(清华大学出版社)习题解析

Pytest初体验

In Golang go-redis cluster mode, new connections are constantly created, and the problem of decreased efficiency is solved

消息队列消息存储设计(架构实战营 模块八作业)

基于mysql的消息队列设计
随机推荐
消息队列存储消息数据的MySQL表格
逐步手撕轮播图3(保姆级教程)
面试突击69:TCP 可靠吗?为什么?
10大主流3D建模技术
"APIO2010" Patrol Problem Solution
了解下C# 匿名方法
Recognize anomalies (you will understand after reading this)
The difference between adding or not adding the ref keyword when a variable of reference type is used as a parameter in a method call in C#
手写一个简单的web服务器(B/S架构)
C#中引用类型的变量做为参数在方法调用时加不加 ref 关键字的不同之处
SQL injection Less54 (limited number of SQL injection + union injection)
博弈论(Depu)与孙子兵法(42/100)
[QNX Hypervisor 2.2 User Manual]9.16 system
EntityFramework保存到SQLServer 小数精度丢失
The latest masterpiece!Alibaba just released the interview reference guide (Taishan version), I just brushed it for 29 days
如何导入 Golang 外部包并使用它?
字符编码和浮点型计算精度丢失问题
SQL injection Less42 (POST type stack injection)
编写方法将一个数组扁平化并且去重和递增排序
Weekly Summary