当前位置:网站首页>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
边栏推荐
- Shell common script: Nexus batch upload local warehouse script
- useragent online lookup
- 消息队列消息存储设计(架构实战营 模块八作业)
- 什么是客户画像管理?
- server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none failed
- Collation of knowledge points in Ningbo University NBU IT project management final exam
- hboot and recovery, boot.img, system.img
- Binary tree non-recursive traversal
- 面试突击69:TCP 可靠吗?为什么?
- 22年8月推广大使额外奖励规则
猜你喜欢
UOS - WindTerm use
消息队列存储消息数据的MySQL表格
A high-quality WordPress download site template theme developed abroad
Recognize anomalies (you will understand after reading this)
Interview assault 69: TCP reliable?Why is that?
浏览器下载快捷方式到桌面(PWA)
【Acwing】The 62nd Weekly Game Solution
(26)Blender源码分析之顶层菜单的关于菜单
Handwritten a simple web server (B/S architecture)
Payment module implementation
随机推荐
支付模块实现
The article you worked so hard to write may not be your original
面试突击69:TCP 可靠吗?为什么?
【ACM】2022.7.31训练赛
Pytest first experience
程序进程和线程(线程的并发与并行)以及线程的基本创建和使用
景区手绘地图的绘制流程
[Code Hoof Set Novice Village 600 Questions] Leading to the combination of formulas and programs
标段参数说明
【云驻共创】【HCSD大咖直播】亲授大厂面试秘诀
In Golang go-redis cluster mode, new connections are constantly created, and the problem of decreased efficiency is solved
编程语言是什么
SQL injection Less54 (limited number of SQL injection + union injection)
面试突击69:TCP 可靠吗?为什么?
基于simulink的Passive anti-islanding-UVP/OVP and UFP/OFP被动反孤岛模型仿真
@JsonFormat(pattern="yyyy-MM-dd") time difference problem
SQL injection Less47 (error injection) and Less49 (time blind injection)
Bionic caterpillar robot source code
输入输出优化
JS basic exercises