• 周六. 10 月 12th, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

What is the meaning of usr in Linux

King Wang

1 月 3, 2022

One 、 introduction

Come into contact with linux People in our country will never forget such an abbreviation :

usr

Only a short while ago , I always find this word very strange , If it is user Abbreviation for , It’s too ungracious ( Only one of the abbreviations is missing e word , Instead, it creates a great possibility of spelling mistakes , Why? ).

So I searched the Internet user The origin of .

Two 、 explain

This is my copy of this blog linux Of usr What is the full name of the catalog ? The explanation of , I think it’s good :

usr yes user Abbreviation , Once upon a time HOME Catalog , But now it has been /home To replace the , Now? usr Known as yes Unix System Resource, namely Unix An abbreviation for system resources .

/usr Is the core of the system , Contains all shared files . It is unix One of the most important directories in the system , Covers binaries , All kinds of documents , Various header files , And all kinds of library files ; There are many procedures , for example ftp,telnet wait .

Once the /usr Or the user’s home directory , It holds all kinds of user files —— Now it has been /home To replace the ( for example /usr/someone Has been changed to /home/someone). modern /usr Only programs and data are stored exclusively , The user directory has been transferred . although /usr The name has not been changed , But its meaning has changed from “ User directory ” Turned into “unix System resources ” Catalog . It is worth noting that , In some unix On the system , Still put /usr/someone As user home directory , Such as Minix

Simply speaking , We will take usr Write it down Unix System Resource That’s all right. , Very elegant and perfect , Unlike user So far fetched .

I hope it can give you some inspiration :)

发表回复