-
Notifications
You must be signed in to change notification settings - Fork 0
The File System
Mcp613 edited this page Sep 10, 2021
·
2 revisions
ShellSimulator uses a virtual, Unix-like file system. This is set up by the Operating System. You have a few commands to interact with the file system, either from C# or bash.
- To access the file system from your application, just use the included FileSystem variable.
- Files
- To create a standard/user created file, use
CreateUserFile(string path)
. - To install an application, use
InstallApplication(string path, Func<Shell, Application> builder)
- The builder will like something like so
InstallApplication("/usr/bin/echo", (shell) => new Echo(shell));
- The builder will like something like so
- To create a standard/user created file, use
- Files