-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.ok
86 lines (74 loc) · 1.16 KB
/
test.ok
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
65
66
67
68
69
70
71
72
73
74
75
spawn qemu-system-x86_64 -nographic --serial mon:stdio -hdc kernel/kernel.img -hdd fat439/user.img
x
What just happened? Who am I? Why am I here?
I am K439, welcome to my world
I have a heap
[] Process tracing enabled
Pit::init freq=1000HZ, divide=1193
Pit::init requested:1000Hz, actual:1000Hz
[] loaded driver for hdd
[] initialized root filesystem
[] Let there be processes
shell> ls
shutdown
shutdown.c
shell.c
shell
ls.c
ls
echo
echo.c
cat.c
cat
f1.txt
f2.txt
panic
shell> echo This is cool
This is cool
shell> echo I know how to handle spaces
I know how to handle spaces
shell> cat f1.txt
This is f1
It contains text
shell> f1.txt
This is f1
It contains text
shell> cat f1.txt f2.txt
This is f1
It contains text
0
11
222
3333
44444
555555
shell> f2.txt f1.txt
0
11
222
3333
44444
555555
shell> cat f1.txt f2.txt f1.txt f2.txt
This is f1
It contains text
0
11
222
3333
44444
555555
This is f1
It contains text
0
11
222
3333
44444
555555
shell> gcc
gcc: command not found
shell> cat notThere
cat: notThere: No such file or directory
shell> shutdown
*** System Shutdown ***