environment, your daemon must create a text file called aitDaemonLog.txt and populate it with 1000 lines of a string each line must be written after 10 seconds, the string must end with the count of the string;.
1) Create a daemon in C in the Unix environment, your daemon must create a text file called aitDaemonLog.txt and populate it with 1000 lines of a string each line must be written after 10 seconds, the string must end with the count of the string;.
2)Create a shell script that lists all the files in the present working directory in long format name this file listMyFiles.sh. Write a c program that uses the system() function and uses it to run listMyFiles.sh
3)Write a c program to write a string of your own choosing into shared memory then read the contents of the shared memory created in
4)demonstrate in a c program how to use a fork to create a child process, using pipes let this child process send a message which is read by the parent process
5) Write a c program that shows the PID, PPID, UID and GID of a running process, let this process fork thus creating a child process, let the parent process count from 0 to
50 and the child process from 0 to 25 each process showing while counting whether it is a parent process or a child process
6)Read the contents of the present working directory using c code
7)show how in c you could create a directory and a symlink to that directory
8)write a client-server application using sockets in c, let the server receive a string from the client and display it
9)write assembly language code to output “hello world!”, show also how you would compile and run this code
Step by step
Solved in 2 steps