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
  • 48,402
  • 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
  • 24,380
  • 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
  • 54,647
  • 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
  • 22,091
  • 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
  • 21,829
  • Oct 23, 2014
6.

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

  • Linux Programming and Data Mining Lab
  • 39,650
  • Oct 23, 2014
7.

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

  • Linux Programming and Data Mining Lab
  • 122,796
  • 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,690
  • 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,639
  • 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
  • 72,215
  • 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
  • 14,159
  • Oct 23, 2014
13.

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

  • Linux Programming and Data Mining Lab
  • 45,463
  • 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
  • 24,257
  • 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
  • 11,584
  • 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
  • 22,543
  • Oct 23, 2014
17.

Write a C program to create a Zombie process.

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

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

  • Linux Programming and Data Mining Lab
  • 9,823
  • 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
  • 22,017
  • Oct 23, 2014
20.

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

  • Linux Programming and Data Mining Lab
  • 12,761
  • 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
  • 13,359
  • 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,431
  • 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,566
  • Oct 23, 2014
24.

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

  • Linux Programming and Data Mining Lab
  • 11,926
  • 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
  • 11,217
  • 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,848
  • 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,319
  • Oct 23, 2014
28.

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

  • Linux Programming and Data Mining Lab
  • 17,949
  • 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,491
  • 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,423
  • Oct 23, 2014
31.

Design and Develop a program to demonstrate fseek function.

  • Linux Programming and Data Mining Lab
  • 2,361
  • 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,404
  • Oct 23, 2014
33.

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

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

Design and Develop program for creating a private message queue.

  • Linux Programming and Data Mining Lab
  • 2,196
  • 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
  • 2,072
  • 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,446
  • Oct 23, 2014