当前位置:网站首页>/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区别 - 蘇氏加多寶 - 博客园
边栏推荐
猜你喜欢

游戏安全03:缓冲区溢出攻击简单解释

Handwritten a simple web server (B/S architecture)

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

Unity-通过预制件和克隆方法动态实现各个UGUI下控件的创建和显示

Flink 1.13(八)CDC

逐步手撕轮播图3(保姆级教程)

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

VOT2021比赛简介

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

Golang - from entry to abandonment
随机推荐
Bika LIMS open source LIMS set - use of SENAITE (detection process)
Program processes and threads (concurrency and parallelism of threads) and basic creation and use of threads
hboot and recovery, boot.img, system.img
一文概述:VPN的基本模型及业务类型
20. Support vector machine - knowledge of mathematical principles
SQL注入 Less54(限制次数的SQL注入+union注入)
UOS - WindTerm use
Drawing process of hand-drawn map of scenic spots
Audio alignment using cross-correlation
UOS统信系统 - WindTerm使用
Google Earth Engine——Error: Image.clipToBoundsAndScale, argument ‘input‘: Invalid type的错误解决
什么是动态规划,什么是背包问题
The uniapp applet checks and prompts for updates
JS basic exercises
【ACM】2022.7.31训练赛
I don't know what to do with sync issues
Mysql environment installation under Linux (centos)
In Golang go-redis cluster mode, new connections are constantly created, and the problem of decreased efficiency is solved
How to identify fake reptiles?
HTC使用官方固件作为底包制作rom卡刷包教程