Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
PrimeMHD
Unix-FileSystem
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
Unix-FileSystem
/
help
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
66 lines (64 loc) · 2.11 KB
master
Breadcrumbs
Unix-FileSystem
/
help
Copy path
Top
File metadata and controls
Code
Blame
66 lines (64 loc) · 2.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
【重要提示】
如不正常结束程序,即未正常卸载虚拟磁盘,会导致缓存未写入虚拟磁盘!
.......................................................
支持的用户指令有:
【mount】
功能:挂载磁盘
用法:mount
说明:任何一次程序执行,必须先执行mount!!!
【unmount】
功能:卸载磁盘
用法:unmount
说明:退出程序时可以手动执行,也可以由exit指令自动unmount
【format】
功能:格式化磁盘
用法:format
说明:一块虚拟磁盘disk.img使用前必须执行一次.(中途格式化可以将磁盘还原)
【mkdir】
功能:创建目录
用法:mkdir dirname
说明:目前仅支持在当前目录创建子目录,若有重名创建失败
【touch】
功能:创建新文件
用法:touch filename
说明:目前仅支持在当前目录创建新文件,若有重名创建失败
【rm】
功能:删除文件
用法:rm filename
说明:目前仅支持删除当前目录下的文件,注意要删除目录请使用rmdir
【rmdir】
功能:删除目录,递归删除该目录下的所有子目录、文件
用法:rmdir dirname
说明:删除文件请使用rmdir
【help】
功能:显示帮助信息
用法:help
【version】
功能:显示作品信息
用法:version
【man】
功能:显示命令使用说明(man暂未支持)
用法:man
【exit】
功能:退出程序
用法:exit
说明:会自动卸载磁盘
【ls】
功能:显示目录下的所有文件
用法:ls path
说明:path必须是目录的路径,支持相对地址和绝对地址
【cd】
功能:改变当前工作目录
用法:cd path
说明:path必须是目录的路径,支持相对地址和绝对地址
【clear】
功能:清空命令行显示区
用法:clear
【store】
功能:高级功能,将外部文件存入虚拟磁盘
用法:store 外部文件路径 内部文件名
说明:仅支持存放到当前目录下,外部文件大小不可超过虚拟磁盘大小
【withdraw】
功能:将虚拟磁盘中的文件提取到外部
用法:store 内部文件名 外部文件路径
说明:仅支持提取当前目录下的文件
You can’t perform that action at this time.