42 Exam 06 ((top))
Week 2 — Data structures & algorithms
| Level | Topic | Points | |-------|-------|--------| | 0 | Basic prompt, echo built-in, cd , pwd | 10 | | 1 | env , export , unset , simple command execution | 20 | | 2 | Redirections ( > , < , >> ) | 20 | | 3 | Pipes ( \| ) | 20 | | 4 | Environment variable expansion ( $VAR , $? ) | 15 | | 5 | Signal handling, proper quotes, exit built-in | 15 | 42 Exam 06
: You can test your server using nc (Netcat) in multiple terminal windows to simulate different clients. Week 2 — Data structures & algorithms |
To succeed, your code should follow a clear, iterative flow: Socket Initialization : Create a socket using , bind it to a port with , and set it to listen mode with The Main Loop your code should follow a clear