Sunteți pe pagina 1din 1

Laboratory Sheet 8 & 9 Unix Programming Lab Course Code: 10B17CI307 Marks: 10

Take the help of study material explore yourself the answers of following questions. Lab is evaluative. You will be asked viva of 10marks in the week 29-3rd May13.

Q.1. Write shell scripts to find the following a) Swap the contents of two files b) Accept a file name and starting and ending line numbers as arguments and display all the lines between the given line numbers. c) Delete all lines containing a specified word in one or more files supplied as arguments to it.

Q.2 Create a shell script that graphically prompts the user for information about the name, age , batch , lab subject and create a doc file to print all this info into doc that file .

Q.3 Create a shell script that takes a url from user and open that url on webbroswer.

Q.4 Create a shell script that will take a user input and check that the input entered is char or number.

Q.5 Create a GUI program that will take a file to be searched from user and should search that file in the current directory.

S-ar putea să vă placă și