You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Write a C program to emulate the ls command using stat and lstat API functions .Print File type, permission etc all the attributes.
2.Perform reverse reading of a file by using lseek API. Pass the File parameter as a command Line argument.
3.Write a C Program to create a new process using Fork operation .Print the Process ID of the child and its parent in the child process and print the process Id of parent,child Pid and parent’s parent process Id in Parent.Make the parent to sleep for 3 seconds.