Question: Write a simple program called hello.c and compile it and create executable file named hello. Write a C program for sequence of following task. By

Write a simple program called hello.c and compile it and create executable file named hello. Write a C program for sequence of following task. By using system call, build following directory structure:

Dir1<--/home/username-->Dir2-->Dir21

By using system calls, copy hello file under ~/Dir2/Dir21/ By using system calls, make a symbolic link named toDir21 to directory Dir21 By using system calls, make a symbolic link named toHello to executable file ~/Dir21/hello

Execute hello by using symbolic link toHello. Try to delete a file, make directory by using symbolic link toDir21.

PLEASE WRITE IN C AND DO NOT USE FSTREAM OBJECTS(fopen, fclose, etc).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!