当前位置:网站首页>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
边栏推荐
- useragent online lookup
- Write a database document management tool based on WPF repeating the wheel (1)
- UOS - WindTerm use
- 消息队列消息存储设计(架构实战营 模块八作业)
- "APIO2010" Patrol Problem Solution
- 手写一个简单的web服务器(B/S架构)
- SQL injection Less54 (limited number of SQL injection + union injection)
- [QNX Hypervisor 2.2用户手册]9.14 set
- C程序设计-方法与实践(清华大学出版社)习题解析
- 消息队列存储消息数据的MySQL表格
猜你喜欢

【1161. 最大层内元素和】

新产品如何进行网络推广?

The article you worked so hard to write may not be your original

Quick Start Tutorial for flyway

Pytest初体验

手写一个简单的web服务器(B/S架构)

GateWay implements load balancing

消息队列消息存储设计(架构实战营 模块八作业)
![[NLP] What is the memory of the model!](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[NLP] What is the memory of the model!

Shell common script: Nexus batch upload local warehouse script
随机推荐
Bionic caterpillar robot source code
不知道该怎么办的同步问题
C#中引用类型的变量做为参数在方法调用时加不加 ref 关键字的不同之处
A high-quality WordPress download site template theme developed abroad
「APIO2010」巡逻 题解
支付模块实现
基于simulink的Active anti-islanding-AFD主动反孤岛模型仿真
#yyds dry goods inventory# Interview must brush TOP101: the entry node of the ring in the linked list
SQL injection Less42 (POST type stack injection)
[QNX Hypervisor 2.2 User Manual]9.16 system
「SDOI2016」征途 题解
TypeScript 的组件
基于mysql的消息队列设计
浏览器下载快捷方式到桌面(PWA)
编写方法将一个数组扁平化并且去重和递增排序
IJCAI2022 | 代数和逻辑约束的混合概率推理
游戏安全03:缓冲区溢出攻击简单解释
基于单片机GSM的防火防盗系统的设计
Interview assault 69: TCP reliable?Why is that?
VOT2021比赛简介