UNIX Program List
UNIX Program List
A2. Write a shell script that displays list of all the files in the current directory to
which the user has read, write and execute permissions.
A3. Write a shell script that accepts a list of file names as its arguments, count and
reports the occurrence of each word that is present in the first argument file
on other argument files.
A4. Write a shell script that accepts one or more file name as arguments and
converts all of them to uppercase, provided they exist in the current directory.
A6. Write a shell script which accepts two file names as arguments. Compare the
contents. If they are same, then delete the second file.
A8. Write a shell script to list all the files in a given directory.
A9. Write a shell script to display list of users currently logged in.
A10. Write a shell script to read three text files in the current directory and merge
them into a single file and returns a file descriptor for the new file.
B1. Write a program to copy a file into another using system calls.
B3. Write a program to create a child process and allow the parent to display
"parent" and the child to display "child" on the screen.
B9. Write a program that illustrates inter process communication using shared
memory system calls.