How To Exam?

a knowledge trading engine...


Dharmsinh Desai University 2009-2nd Sem M.C.A Computer Aplications LINUX ENVIRONMENT , 2nd Sessional - Question Paper

Sunday, 20 January 2013 04:20Web


DHARMSINH DESAI UNIVERSITY, NADIAD
MCA II, FACULTY OF TECHNOLOGY
SUBJECT: LINUX ENVIRONMENT
Date: 18-03-2008 Time: one Hour Total Marks:36


DHARMSINH DESAI UNIVERSITY, NADIAD MCA II, FACULTY OF TECHNOLOGY SUBJECT: LINUX ENVIRONMENT Date: 18-03-2008    Time: 1 Hour    Total Marks:36

Q.1 Do as Directed    [Marks : 12]

1.    What will be the octal triplet to assign read, write, execute to user, read and execute to group and read to others.

a) 745    b) 755    c) 574    d) None of the Given

2.    Write a command to sort num.txt having list of numbers in reverse order. Also store result in res.txt.

3.    Which command will display all processes including system and user? a) ps -u    b) ps -e    c) ps    d) ps -f

4.    _represents last argument of previous command.

5.    The parent of login shell is_process having process id_.

6.    The file descriptor of standard input stream is

a) 3    b) 2    c) 1    d) 0

7.    nice command decrease the priority of process(T/F) Justify.

8.    What will be the output of the command echo $!?

a) PID of the last background process    b) PID of the Shell

c) PPID of Shell    d) exit status

9.    Signal Number for term SIGTERM is_and SIGKILL is_.

10.    To change environmental variable default string with PS2. (T/F) Justify.

11.    To overwrite file which command and which option used by user? a) SET -o noclobber    b) set -o noclobber

c) set +o ignoreeof    d) set -o ignoreeof

12.    What will be the output of ls -l command?

Q.2 Answer the following question:    [Marks : 12]

A Explain in brief three system calls related to Process.

B Explain chmod command to change permissions relative to the current permission.

C Explain standard error and standard input in detail.

D. What is meant by system variables and which command used to display it on screen and give description of all variables?

Q.3 Do as directed.    [Marks : 12]

1.    Write a command to kill last background process without knowing its PID and a command to kill current Shell.

2.    Write a command to sort 6th, 7th column of 4th field for file1.txt and output copy to file2.txt.

3.    Write a command to cut 3rd field from emp.lst file and sort that field first and list all records without duplications.

4.    Write a command to get first 20 records from emp.lst file and before printing records add double space, number lines before records add header List of Employees, and increase left page margin by 10.

5.    Write a command to display particular event number, execute that particular event number command.

6.    Write a command to convert the contents of file f1 .txt to uppercase and write a command to change permission of hidden files also in Recursive manner.









Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Dharmsinh Desai University 2009-2nd Sem M.C.A Computer Aplications LINUX ENVIRONMENT , 2nd Sessional - Question Paper