In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The element that an operating system must have is the file system. In Windows, you can manage file systems using both Explorer and PowerShell, but they are different.
I. the structure of the file system
In Windows, the file system consists of three objects: disk drive, folder and file. The disk is the top object, the file is the smallest object, and the folder is the container.
For PowerShell, the file system is also a provider.
The "Drives" here refers to the PSDrive created by PowerShell through a provider to connect to certain media that store data. For example, "PS C:\ Users\" in the image above is connected to the file system, so we can access the objects in the file system-drives, folders, and files. Therefore, the term files and folders does not appear in PS, but is uniformly referred to as "Item".
Second, use the file system
[Set-Location]: change the path
The command effect is equivalent to "cd".
The command context is switched to the registry. Although it is equivalent to "cd", it must be equivalent in the PS environment, not in the cmd environment.
The figure above shows the "cd" command in the PS environment to switch to the registry PSDrive, which would look like this in the cmd environment:
[New-Item]: create a new item.
Follow the "- type" parameter, otherwise an empty file will be created by default under the file system (PS v5.0).
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.