Unit 2

You might also like

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

Lt. M. J. Kundaliya Arts and Commerce Mahila College [Computer Science Department], Rajkot.

CS-22 Operating System Concepts with Linux/Unix BCA-IV

Unit 2 – Getting Started with Unix, Unix Shell Command, Text Editing with vi Editor

1 Marks Question
1. What is telnet?
2. List out modes in vi editor.
3. Types of Shell. List out it.
4. List out categories of user.
5. List out types of permissions of file/directory.
6. Explain : $ cal 3 2021
7. The hidden files can be listed out with command.
8. Give Full Form for following command:
ls,cd,mv,pwd,ln,rm,rmdir,mkdir,chmod,chown,chgrp,grep,egrep,fgrep,tr,sed,od,bc,mtod,
ps,wc
9. _____________redirection operator is used to append content to a file.[March/April-
2019]
10. Which is the default directory to store device files in UNIX?.[March/April-2019]
11. By default, Kill command uses _________numbered signal to stop
process.[March/April-2019]

2 Marks Question
1. Explain Unix architecture. [Apr./May.-2015]
2. Explain Operation Mode and Cursor Movement Command in VI Editor.[Apr./May.-
2015]
3. Explain types of Shell.[Apr./May.-2015]
4. Explain Types of File in Unix. [Apr./May.-2015][March/April-2019]
5. Give difference between Who and Who am i command.
6. How to append a file ?
7. List out options of wc command.Explain that options with example.
8. Explain: find ?h*.*
9. Explain difference between head and tail command.
10. Explain factor command .

3 Marks Question
1. File comparison commands.[March/April-2019]
2. Various modes in VI editor.[March/April-2019] [Mar./Apr.-2009]
3. Explain concept of Mounting and Demountingfile system in UNIX.[March/April-2019]
4. Explain Communication command. [Apr./May.-2015]
5. Explain Process related command. [Apr./May.-2015]
5 Marks Question

1. Explain following commands [Mar./Apr.-2017]


Chmod,umask,grep,ps,kill,touch,sort,cut,uniq,mount
2. Explain difference between more ,pg and less command with example.
3. Which are the regular expression uses in grep command explain each expression with
example.
4. Which are the regular expression uses in egrep command explain each expression with
example.

Program:

1. Create a bcasub.txt file and write the following data.


C#
OS
Networking
Java
- Append file and write Practical 1, Practical 2 data.
- Create your name folder.
- Your bcasub.txt file move to your name folder.
- Give read and execute permission to group and other for bcasub.txt file.
- Perform wc command with all options for bcasub.txt file.
2. Find how many times separated OS in bcasub.txt file using grep command.
3. Find first 2 letters are capital in bcasub.txt file using egrep command.
4. Create a bca4sub.txt file and write the following data.
1:c#:os:net:java
2:c#:os:net:java
3.c#:os:net:java
- Display range 1 to 3 byte using cut command.
- Use @ for separate data using paste command. (First you create a new file use TAB)
- Join bcasub.txt and bca4sub.txt file using join command.
5. Write 36 factor.

You might also like