1.

Write a Shell script that accepts a filename, starting and ending line numbers as arguments and displays all the lines between the given line numbers.

  • Linux Programming and Data Mining Lab
  • 47,459
  • Nov 05, 2014
2.

Write a Shell script that deletes all lines containing a specified word in one or more files supplied as arguments to it.

  • Linux Programming and Data Mining Lab
  • 23,717
  • Nov 05, 2014
3.

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.

  • Linux Programming and Data Mining Lab
  • 53,725
  • Oct 23, 2014
4.

Write a Shell script that receives any number of file names as arguments checks if every argument supplied is a file or a directory and reports accordingly. Whenever the argument is a file, the number of lines on it is also reported.

  • Linux Programming and Data Mining Lab
  • 21,092
  • Oct 23, 2014
5.

Write a Shell script that accepts a list of file names as its arguments, counts and reports the occurrence of each word that is present in the first argument file on other argument files.

  • Linux Programming and Data Mining Lab
  • 20,909
  • Oct 23, 2014
6.

Write a Shell script to list all of the directory files in a directory.

  • Linux Programming and Data Mining Lab
  • 38,299
  • Oct 23, 2014
7.

Write a Shell script to find factorial of a given integer.

  • Linux Programming and Data Mining Lab
  • 122,041
  • Nov 05, 2014
9.

Write a awk script to find the number of characters, words and lines in a file.

  • Linux Programming and Data Mining Lab
  • 29,075
  • Oct 23, 2014
10.

Write a C Program that makes a copy of a file using standard I/O and system calls.

  • Linux Programming and Data Mining Lab
  • 34,023
  • Oct 23, 2014
11.

Write in C the following Unix commands using system calls A). cat B). ls C). mv

  • Linux Programming and Data Mining Lab
  • 70,968
  • Oct 23, 2014
12.

Write a Program that takes one or more file/directory names as command line input and reports the following information on the file. A). File type B). Number of links. C). Time of last access. D). Read,Write and Execute permissions.

  • Linux Programming and Data Mining Lab
  • 13,700
  • Oct 23, 2014
13.

Write a C program to emulate the Unix ls-l command.

  • Linux Programming and Data Mining Lab
  • 44,163
  • Oct 23, 2014
14.

Write a C program to list for every file in a directory, its inode number and file name.

  • Linux Programming and Data Mining Lab
  • 23,527
  • Oct 23, 2014
15.

Write a C Program that demonstrates redirection of standard output to a file .EX: ls > f1.

  • Linux Programming and Data Mining Lab
  • 10,981
  • Jun 07, 2017
16.

Write  a C program to create a child process and allow the parent to display “parent” and the child to display “child” on the screen.

  • Linux Programming and Data Mining Lab
  • 21,914
  • Oct 23, 2014
17.

Write a C program to create a Zombie process.

  • Linux Programming and Data Mining Lab
  • 15,434
  • Oct 23, 2014
18.

Write a C program that illustrates how an orphan is created.

  • Linux Programming and Data Mining Lab
  • 9,466
  • Oct 23, 2014
19.

Write a program that illustrates how to execute two commands concurrently with a command pipe

  • Linux Programming and Data Mining Lab
  • 21,148
  • Oct 23, 2014
20.

Write C programs that illustrate communication between two unrelated processes using named pipe

  • Linux Programming and Data Mining Lab
  • 12,252
  • Oct 23, 2014
21.

Write a C program to create a message queue with read and Write permissions to Write 3 messages to it with different priority numbers.

  • Linux Programming and Data Mining Lab
  • 12,969
  • Oct 23, 2014
22.

Write a C program that receives the messages(From the above message queue as specified in (21)) and display them.

  • Linux Programming and Data Mining Lab
  • 7,088
  • Apr 28, 2017
23.

Write a C Program to allow cooperating processes to lock a resource for exclusive use,using a) Semaphores, b) Flock or lockf system calls.

  • Linux Programming and Data Mining Lab
  • 7,331
  • Oct 23, 2014
24.

Write a C program that illustrates suspending and resuming processes using signals

  • Linux Programming and Data Mining Lab
  • 11,319
  • Oct 23, 2014
25.

Write a C program that implements a producer-consumer system with two processes.(Using Semaphores).

  • Linux Programming and Data Mining Lab
  • 10,803
  • Oct 23, 2014
26.

Write client and server programs(using c) for interaction between server and client processes using Unix Domain sockets.

  • Linux Programming and Data Mining Lab
  • 7,494
  • Oct 23, 2014
27.

Write client and server programs(using c)for interaction between server and client processes using Internet Domain sockets.

  • Linux Programming and Data Mining Lab
  • 5,085
  • Oct 23, 2014
28.

Write a C program that illustrates two processes communicating using shared memory.

  • Linux Programming and Data Mining Lab
  • 17,089
  • Oct 23, 2014
29.

Design and Develop a shell script which removes empty files from PWD and changes other files

  • Linux Programming and Data Mining Lab
  • 2,274
  • Oct 23, 2014
30.

Design and Develop a shell script to count number of line in a file without using WC

  • Linux Programming and Data Mining Lab
  • 2,262
  • Oct 23, 2014
31.

Design and Develop a program to demonstrate fseek function.

  • Linux Programming and Data Mining Lab
  • 2,165
  • Oct 23, 2014
32.

Design and Develop a program to demonstrate use of fork() and exec() to create a new directory.

  • Linux Programming and Data Mining Lab
  • 2,231
  • Oct 23, 2014
33.

Design and Develop a program to demonstrate pipe function using dup system call.

  • Linux Programming and Data Mining Lab
  • 2,007
  • Oct 23, 2014
34.

Design and Develop program for creating a private message queue.

  • Linux Programming and Data Mining Lab
  • 2,022
  • Oct 23, 2014
35.

Design and Develop a program to demonstrate to indicate that the shared memory created will be available even after the process which created is exited.

  • Linux Programming and Data Mining Lab
  • 1,900
  • Oct 23, 2014
36.

Design and Develop a program to copy standard i/p to standard o/p using asynchronous i/o.

  • Linux Programming and Data Mining Lab
  • 2,225
  • Oct 23, 2014