File tree 4 files changed +8
-9
lines changed
4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
- shellmake : src/shell.c src/stack.c src/readline .c
2
- gcc -o bin/wish src/shell.c src/stack.c src/readline.c
1
+ shellmake : src/* .c
2
+ gcc -g -o ./ bin/wish ./ src/shell.c ./ src/stack.c ./ src/cmd_struct.c ./src/process.c ./src/w_env.c ./src/w_parser.c ./src/w_tokenizer.c ./src/execute.c ./src/ readline.c ./src/w_io.c ./src/w_signal .c
Original file line number Diff line number Diff line change @@ -19,22 +19,23 @@ Some features are:
19
19
#### Running on local machine
20
20
You will need a Linux machine to run this shell.
21
21
22
- ##### Dependencies:
22
+ ###### Dependencies:
23
23
- gcc
24
24
- cmake
25
25
26
+ After installing dependencies,
27
+
26
28
Run the following commands:
27
29
```
28
30
$ make
29
31
```
30
- Then an executable will be generated in ./bin/
32
+ Then an executable will be generated in ./bin/ , you can run it using
31
33
32
34
```
33
- $ cd bin
34
- $ ./wish
35
+ $ bin/wish
35
36
```
36
37
37
- To exit the shell write ` exit ` in the shell.
38
+ To exit the shell write ` exit ` or press ` Ctrl+D ` in the shell.
38
39
39
40
#### To be added:
40
41
- Shell Scripting
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments