graph TD
root["(root)"]
a["a.txt"]
b["b"]
c["c.txt"]
d["d.txt"]
e["e"]
bb1["bb1"]
bb2["bb2"]
bbb["bbb.txt"]
ee["ee.txt"]
root --> a
root --> b
root --> c
root --> d
root --> e
b --> bb1
b --> bb2
bb1 --> bbb
e --> ee
|
graph TD
root["(root)"]
a["a.txt"]
b["b"]
c["c.txt"]
d["d.txt"]
e["e"]
bb1["bb1"]
bb2["bb2"]
bbb["bbb.txt"]
ee["ee.txt"]
%% Leftmost child links (blue)
root -->|Leftmost child| a
b -->|Leftmost child| bb1
bb1 -->|Leftmost child| bbb
e -->|Leftmost child| ee
%% Right sibling links (red)
a -.->|Right sibling| b
b -.->|Right sibling| c
c -.->|Right sibling| d
d -.->|Right sibling| e
bb1 -.->|Right sibling| bb2
|
- cd
- ls
- tree
- pwd
- touch
- mkdir
- rm
- rmdir
- mv
In your terminal, cd into the root directory CPP-File-System. Then in your terminal, compile the project by running the makefile:
make
If the project compiles successfully, an executable main will appear in the directory, run it by typing:
./main
Initially, the project will have no data. To load data into the emulator, type:
load 1
Note
This is typed inside the main executable.
There are three file groups available to load: load 1, load 2, and load 3.