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
  • 31,480
  • 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
  • 16,951
  • 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
  • 39,869
  • 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
  • 12,353
  • 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
  • 12,325
  • Oct 23, 2014
6.

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

  • Linux Programming and Data Mining Lab
  • 12,272
  • Oct 23, 2014
7.

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

  • Linux Programming and Data Mining Lab
  • 113,102
  • 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
  • 21,319
  • 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
  • 21,176
  • 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
  • 52,017
  • 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
  • 9,536
  • Oct 23, 2014
13.

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

  • Linux Programming and Data Mining Lab
  • 27,092
  • 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
  • 15,836
  • 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
  • 7,266
  • 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
  • 14,596
  • Oct 23, 2014
17.

Write a C program to create a Zombie process.

  • Linux Programming and Data Mining Lab
  • 8,587
  • Oct 23, 2014
18.

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

  • Linux Programming and Data Mining Lab
  • 6,437
  • 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
  • 12,092
  • Oct 23, 2014
20.

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

  • Linux Programming and Data Mining Lab
  • 8,707
  • 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
  • 8,831
  • 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
  • 4,830
  • 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
  • 5,370
  • Oct 23, 2014
24.

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

  • Linux Programming and Data Mining Lab
  • 6,480
  • 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
  • 7,732
  • 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
  • 5,271
  • 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
  • 3,236
  • Oct 23, 2014
28.

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

  • Linux Programming and Data Mining Lab
  • 10,281
  • 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
  • 1,522
  • 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
  • 1,688
  • Oct 23, 2014
31.

Design and Develop a program to demonstrate fseek function.

  • Linux Programming and Data Mining Lab
  • 1,552
  • 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
  • 1,645
  • Oct 23, 2014
33.

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

  • Linux Programming and Data Mining Lab
  • 1,461
  • Oct 23, 2014
34.

Design and Develop program for creating a private message queue.

  • Linux Programming and Data Mining Lab
  • 1,477
  • 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,430
  • 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
  • 1,548
  • Oct 23, 2014