I’m working on a C Programming question and need guidance to help me study.
the rar file contains all the required files.
pdf has all the requirements.
test.txt is the file that i wrote. it can only have one system outupt “ls -l -a -F”, the requirments need 6 such as “pwd”, these commands are all in the sample_in.txt file.
test1.txt is a file that i found on the Internet, it can output 6 commands, but it’s all empty.
Please help me write the code, either fix the code i found on the internet or fix the code that I wrote, like add a for loop?