-
i am still confused about this, i get the concept but implementing it is where i get lost. are we supposed to open our current directory, check each item in directory to see if it matches the input an…
-
I just saw my grade, which was given because my program did not compile, but I did all five steps shown in the homework,
git clone (myrepo)
cd rshell
git checkout hw1
make
bin/rshell
I've done it a…
-
Late submissions for HW 1 will be taken under the following conditions:
i) You needed more time to complete the assignment
ii) You did not follow the specifications and one or more of the following d…
-
i am so confused on what to do inside the makefile, i know its late but ive never made one before and ive looked at tutorials online and not found them very helpful
-
i tried adding the code
all: bin rshell
bin:
[! -d bin] && mkdir bin
and i got the error
[! -d bin] && mkdir bin
/bin/sh: 1: [!: not found
make: **\* [bin] Error 127
could anyone explain what…
-
I've updated the file `checksyscalls.sh` so that it now prints out all of the lines you use syscalls, and all the lines you use perror. So you can manually verify that the results are correct.
Also,…
-
I don't get how the signal handling is supposed to work. I have a function to catch the `^C` signal but it just kills the program.
-
I have io redirection working if there's a space in between the commands for example "echo hello > input" so now I'm trying to get it to work for the other cases where there's no spaces like if the co…
-
when you guys are testing the homework you will not be writing git init right? because when i clone the repo and cd into rshell, when i type git checkout hw1 it only works when i type git init. is thi…
-
So I'm having some weird problems calling ls on directories.
My code works when I call: ./a.out bin -l (or any other flags/combinations of flags)
But when I JUST call: ./a.out bin, I get the correct…