This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11627|Reply: 0

[linux] The difference between / and ~ in the Linux directory

[Copy link]
Posted on 1/23/2019 1:51:04 PM | | |
This post was last edited by Summer on 2019-1-23 13:53

/是指根目录:就是所有目录最顶层的目录

~ is the home directory of the current user: if it is the root user, it is the /root/ directory, if it is another user, it is the user named under the username /home/

That is, / is the top-level directory, and the root directory below is ~ (for root users).







Previous:Linux file open command
Next:Jexus operation commands
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com