In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the relevant knowledge of "how to express the current directory in linux". The editor shows you the operation process through an actual case. The method of operation is simple and fast, and it is practical. I hope this article "how to express the current directory in linux" can help you solve the problem.
In linux, the current directory uses the decimal point. The directory of the linux system is similar to an inverted tree structure, which extends downward with the root directory ("/"), and can also be used as ".." Represents the parent directory and uses ". /" to indicate the subordinate directory.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How to express the current directory in linux
The following two special directories exist in every directory of Linux
"." Represents the current directory
".." Represent the superior directory
Directory composition structure in Linux system
The directory composition class of the Linux system is like an inverted tree structure, which begins to extend downward with a directory called root ("/").
It is different from other operating systems. Windows, for example, in windows, there are as many roots as there are partitions, and these roots are juxtaposed, while in Linux, no matter how many partitions there are, there is a root.
The corresponding folder type character in the Linux system is "d"
The current path is / tmp/1/2/3/4, then cd.. /.. It's just the / tmp folder.
Directory access permission
A directory is a special file.
The read and write execution permissions on the directory are different from those of ordinary files
Read: users can read the files in the directory, that is, decide whether they can type ls in this folder.
Write: it doesn't work if you use it alone. It is used in conjunction with read and execute permissions to add and delete files in a directory
Execution: users can enter the directory and call the data in the directory. All users must have execution permission to cd into this folder.
This is the end of the content about "how to represent the current directory in linux". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.