Saturday 3 December 2016

Exercises of System Calles

Now it’s your turn to do some exercise and write a comment if you face any issue.

       Implement cp src_file.txt dst_file.txt

       Implement cat src_file.txt, read and display file contents

       Implement cp src1.txt src2.txt src3.txt dst.txt

       Implement a program to display the contents of file from the starting and from given offset.

       Implement program for creating dir, change dir, create a file, write data in to a file, copy file to another file and display contents of both the files.

       Implement a program to create a file read permission, Perform write on it then change file permissions to make writable, display file contents


       Implement a program to read the file stats and statistics.

No comments:

Post a Comment