Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Adobe Scan 07 Nov 2024

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

UNIT -I

Short Answer Questions

1. Define Computer.

2. List out the components of acomputer system.

3. The computer language that most closcly resembles machine language is ......
4. List out the differences between RAM and ROM.

(5. What is an exccutable file?

6.) Write the extensions of various files?

7. What is an Operating System (0S) and list out various


8. ) How can you create a new file using tail?
ENGI
Operating Systems.

9. Which command is used to display the top of the file?


command is used to move all files to the bin sub-directory of the parent directory?
10. Which
andending
command isused to change protection mode of files starting with the string emp
11) Which
with 1, 2, or 3?
'note' from both the group and others?
remove the read permission of the file
12. Which command is used to
cursor to the end of the paragraph?
13. Which key is used to move the
4 characters form the current position?
14. What is the vi command to change Case for
PAL

letter to 5 users?
15. What is the command to mail a

Essay Type Questions

1Write down the salient features of UNIX?


sketch.
2Explain the architecture of the UNIX with neat
unix.
3.Explain file and directory handling commands /utilities in
environment.
A-Explain how UNIX supports multiuser and multitasking
5. Write in detail about structure of man command.
2Copyright OCVR COLLEGE OF ENGINEERING

8
with examples?
6) Explain the importance of mount, umount
commands with examples?
7. Explain comm, diff, cmp
8 Explain tr command with examples?
examlpes :
9 Discuss working of following commands with suitable
a) cal b)_date efuname Dprintf

2
1.
Define the sort command.
redirected invarious ways?

Define the wc command?


What is its
UNIT - II

general
ENGI
Short Answer Questions

List the filter utilities, and explain


each with examples.
application? How input from sort

Explain it with all the options


in brief.
command is

3
commands.
4 Compare cmp and diff
smallest of 10 integers.
Write a function to find
5 input lines.
print total number of process also?
6 Write a function to command to list the PID of the parent
used with ps
7 Which option can be command?
significance of-c option in grep txt.
What is the [a -z<. *!S)'I inputfile.
output of-egrep (0 [A-Z].* IS) |(0
9. Write following
down the expected output of the
10. Write NR ==4 (print S 0}*
commandawk NR = =1,
input file txt
command for
11. Write grep
or
following. To add delete
change a line. unix".
UNIX" and end with
that starts with
Selects lines fromn file
commands
13. Define the following
a. uniq
b. tr

C. cut

paste
ENGINEERING
CaCopyright O CVR COLLEGE OF
14. prove that the
following
sort it in
utility isa filter by using
-n+2-3
commandsort -n +0-1 filel|: sort-n +| -2|:sort

Essay Type Questions


1. example.
Define filter. Explain any
five filter commands with have ?
2 What does grep stands for, How many members does grep family
3.
Discuss in detail how regular expressions are uscd to Spo
Pattern? What are the different anchors supported by grep and
egrep?
4. What are the operators supported by grep and egrep
5.
Why is it better to enclose the regular expression (in grep and egrep) and the string in quotes?
6.
Which atoms are not supported by the grep and egrep commands?
7.

a) sort b) cut c) paste d) uniq RING


Discuss working of following commands with suitable examlpes :

UNIT - III
Short Answer Questions
1 Is there any difference
between login shell and current shell. Justify vour an
2. Is Command Substitution is supported by the Korn
Shell by command. If
3. Which command creates a korn Shell child2 yes give
EXCELLENGe
A Write basic input and output commands for Kom Shell.
example.
5. Write a file closing statement
sta in korn shellST OF
thetwo operators that make the
6. What are of exccution commands
7. List two special
files used by UNIX shell.
used to view the exit status of
conditional?
8. What is command the last
example. executed command?
redirection standard files with
Explaíndefault
9. Swho:>
thefunctionalityof
is ldev/tty?
10. What outputofthe command wc -1 fact.c?
isthe
11. What env command output?
outputdoes3
12. What Copyright OCVR COLLEGE
OF
ENGINEERING
13. What is the functionality of the command $alias ll=ls -1 refers to?
14. Device a pipeline command which gives largest files in the current directory.
15. How do you display listing ofalldirectories in the PATH list?
16. How do you convert the contents of the file emp.Ist to uppercase?
17. Where does un-redirected standard output normally go?

18. Command to display the contents of file named -filel Only.


19. What does Secho $TERM displays?

NG
20. What the output of the Command Sunig -c filel23

Essay Type Questions


1. Explain the purposes of the Kom shell. List and
Shell.
2. What is quoting? What are the three sets of quoting tokens?
NE
explain six different states ofa job in Korn

RING
3. What is an option? List some options and their uses?
4. Discuss various forms ofExpressions along with the operators.
shell.
5. Explain how decisions are made in a Korn
special parameters and variables in Korn Shell? What are startup scripts in Kornshell?
6. What are
where is it stored?
What is the exit status ofa command
in Korn shell?
7. Explain the various loop structures used
Korm shell
8. Write cach of the following file expressions on
R.B. LENCEY
filel is empty
file2 is not readable
GALPALL
9. what would be printed from the following script segment? Explain why?
X-0 UN IN PURSUIT OF
for I in $(who)
do
(x=x+1))
Print done

Copyright OCVR COLLEGE OF


ENGINEERING

You might also like