当前位置:网站首页>/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区别 - 蘇氏加多寶 - 博客园
边栏推荐
- 硬件设备计算存储及数据交互杂谈
- Quick Start Tutorial for flyway
- In Golang go-redis cluster mode, new connections are constantly created, and the problem of decreased efficiency is solved
- 编程语言是什么
- 二叉树非递归遍历
- Difference Between Stateless and Stateful
- GateWay implements load balancing
- 博弈论(Depu)与孙子兵法(42/100)
- Several methods for deleting specified elements in Golang slices
- 网易云信圈组上线实时互动频道,「破冰」弱关系社交
猜你喜欢

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

景区手绘地图的绘制流程

VOT2021比赛简介

Google Earth Engine——Error: Image.clipToBoundsAndScale, argument ‘input‘: Invalid type的错误解决
SQL27 View user details of different age groups
![[NLP] What is the memory of the model!](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[NLP] What is the memory of the model!

(26) About menu of the top menu of Blender source code analysis

Pytest first experience

2022-07-31:给出一个有n个点,m条有向边的图, 你可以施展魔法,把有向边,变成无向边, 比如A到B的有向边,权重为7。施展魔法之后,A和B通过该边到达彼此的代价都是7。 求,允许施展一次魔法

【Acwing】第62场周赛 题解
随机推荐
Unity - by casting and cloning method dynamic control under various UGUI create and display
#yyds dry goods inventory# Interview must brush TOP101: the entry node of the ring in the linked list
Daily--Kali opens SSH (detailed tutorial)
VOT2021 game introduction
SQL注入 Less38(堆叠注入)
hboot与recovery、boot.img、system.img
"SDOI2016" Journey Problem Solution
SQL注入 Less42(POST型堆叠注入)
MySQL数据库‘反斜杠\’ ,‘单引号‘’,‘双引号“’,‘null’无法存储
编写方法将一个数组扁平化并且去重和递增排序
Mysql environment installation under Linux (centos)
(26) About menu of the top menu of Blender source code analysis
Binary tree non-recursive traversal
[QNX Hypervisor 2.2用户手册]9.14 set
How to debug TestCafe
周总结
嵌入式开发没有激情了,正常吗?
LeetCode 第 304 场周赛
SQL注入 Less46(order by后的注入+rand()布尔盲注)
Golang must know the Go Mod command