Wednesday, December 2, 2015

LINUX ENVIRONMENT MCA DHARMSINH DESAI UNIVERSITY 2008 Question Paper

Are you searching Dharmsinh Desai University question papers? Here you can find LINUX ENVIRONMENT Question paper of 2008 in DDU

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.
Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here