当前位置:网站首页>/usr/local/bin和/usr/bin的区别
/usr/local/bin和/usr/bin的区别
2022-07-31 23:15:00 【larance】
一、/usr/sbin与/usr/bin区别:
1、/usr/sbin:root权限下的命令属于基本的系统命令,如shutdown,reboot,用于启动系统,修复系统;
2、/usr/bin普通用户权限,存放一些普通的基本命令,如ls,chmod等;
二、/usr/bin与/usr/local/bin:
首先注意usr 指 Unix System Resource,而不是User
然后通常:
/usr/bin下面的都是系统预装的可执行程序,会随着系统升级而改变。
/usr/local/bin目录是给用户放置自己的可执行程序的地方,推荐放在这里,不会被系统升级而覆盖同名文件。
1、/usr/bin:系统预装的可执行程序,会随着系统升级而改变;
2、/usr/local/bin:用户放置自己的可执行程序的地方,推荐放在这里,不会被系统升级而覆盖同名文件。
参照 https://www.jianshu.com/p/5de2286b2e97
Linux 下的/usr/bin /usr/sbin /usr/local/bin /usr/local/sbin区别 - 蘇氏加多寶 - 博客园
边栏推荐
- 「APIO2010」巡逻 题解
- The uniapp applet checks and prompts for updates
- Golang must know the Go Mod command
- 消息队列存储消息数据的MySQL表格
- 基于simulink的Active anti-islanding-AFD主动反孤岛模型仿真
- Advanced Algebra _ Proof _ Any matrix is similar to an upper triangular matrix
- 支付模块实现
- TypeScript 的组件
- 嵌入式开发没有激情了,正常吗?
- Daily--Kali opens SSH (detailed tutorial)
猜你喜欢

支付模块实现

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

Go1.18 upgrade function - Fuzz test from scratch in Go language

(26)Blender源码分析之顶层菜单的关于菜单

Document management and tools in the development process

编译型语言和解释型语言的区别

Federated Learning: Multi-source Knowledge Graph Embedding in Federated Scenarios

Judging decimal points and rounding of decimal operations in Golang

网络安全--通过握手包破解WiFi(详细教程)

IJCAI2022 | 代数和逻辑约束的混合概率推理
随机推荐
消息队列消息存储设计(架构实战营 模块八作业)
ECCV 2022 Huake & ETH propose OSFormer, the first one-stage Transformer framework for camouflaging instance segmentation!The code is open source!...
Input and output optimization
[QNX Hypervisor 2.2 User Manual]9.14 set
Unity - LineRenderer show a line
lua入门案例实战123DIY
Bika LIMS open source LIMS set - use of SENAITE (detection process)
字符编码和浮点型计算精度丢失问题
Federated Learning: Multi-source Knowledge Graph Embedding in Federated Scenarios
Advanced Algebra _ Proof _ Any matrix is similar to an upper triangular matrix
uniapp小程序检查、提示更新
I don't know what to do with sync issues
HTC使用官方固件作为底包制作rom卡刷包教程
一文带你了解 Grafana 最新开源项目 Mimir 的前世今生
[NLP] What is the memory of the model!
「APIO2010」巡逻 题解
编译型语言和解释型语言的区别
(26)Blender源码分析之顶层菜单的关于菜单
TestCafeSummary
《ArchSummit:时代的呐喊,技术人听得到》