How To Exam?

a knowledge trading engine...


Jawaharlal Nehru Technological University Kakinada 2008 B.Tech Computer Science and Engineering unix and shell programming - Question Paper

Friday, 09 August 2013 12:25Web

Code No: 07A3EC17 Set No. 1
II B.Tech I Semester Regular Examinations, November 2008
UNIX AND SHELL PROGRAMMING
( Common to Computer Science & Engineering and info
Technology)
Time: three hours Max Marks: 80
ans any 5 ques.
All ques. carry equal marks
? ? ? ? ?
1. (a) Why unix commands are simpler rather than complex tasks.
(b) define the escaping sequencing characters in unix. [8+8]
2. What would be the e?ect of the subsequent commands:
(a) mail user1 user2 < myprog.c
(b) wall
(c) grep ‘rao$’ xyz
(d) cut -f1,3 ?le1
(e) news
(f) ?nger -i
(g) pg xyz
(h) uniq < xyz. [16]
3. (a) What do the subsequent UNIX system variables signify?
i. HOME
ii. PS1
iii. PATH
iv. TERM
v. MAILCHECK.
(b) How does shell executes external commands? [10+6]
4. (a) Using sed, how do you convert ?les with toggle characters, like +this+, to
look like [i]this[/i]?
(b) Using sed, how do you perform a case-insensitive search. [8+8]
5. (a) discuss about expressions in awk shell script in detail.
(b) discuss the commands in C shell program with examples. [8+8]
6. (a) Write short notes on basic korn shell statements.
(b) Write short notes on relation expression trends of korn shell. [8+8]
7. (a) Use a grep command and check its exit status. When is its outcome zero? When
it is non zero? Check both cases.
1 of 2Code No: 07A3EC17 Set No. 1
(b) Use a sed command and check its exit status. When is it outcome zero? When
it is non zero? Check both cases. [8+8]
8. (a) What is the di?erence ranging from symlink and ulink?
(b) Write the syntax for the subsequent System Calls:
i. Create
ii. learn
iii. Write
iv. Open. [8+8]
? ? ? ? ?










2 of 2Code No: 07A3EC17 Set No. 2
II B.Tech I Semester Regular Examinations, November 2008
UNIX AND SHELL PROGRAMMING
( Common to Computer Science & Engineering and info
Technology)
Time: three hours Max Marks: 80
ans any 5 ques.
All ques. carry equal marks
? ? ? ? ?
1. (a) define interrupt and EOF characters.
(b) What do multiuser and multitasking mean. [8+8]
2. (a) Show the octal representation of these permissions:
i. rwx - -x - w-
ii. - - - - - - - - -
iii. - - xr - - - -x
iv. - - -rwx - --
(b) discuss about ?le security in unix. [8+8]



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Jawaharlal Nehru Technological University Kakinada 2008 B.Tech Computer Science and Engineering unix and shell programming - Question Paper