Upload
ankur-mohan
View
726
Download
2
Embed Size (px)
Citation preview
K u v e m p u U n i v e r s i t y
Assignments for B.Sc.(IT) & M.Sc.(IT) Courses
Subject: UNIX & Shell Programming Subject Code: BSIT - 43
Assignment: TA (Compulsory)
I. Answer the following questions in one or two sentences. Each question
carries 2 marks.
1. How the Unix is different from other OS?
2. What are Internal & External commands?
3. How do you change your password in Unix?
4. List various directory related commands.
5. What are different types of files in Unix?
6. What do you mean by file permission “-rw-rwx-wx”?
7. Define Hard Links.
8. What are absolute pathnames?
9. What is the output of the command “$ file *”?
10. When do we use “wc” command?
II. Explain the parent-child relationship in Unix file system.
Assignment: TB (Compulsory)
PART - A 1. What are the different standard given by POSIX ? What is POSIX ? 2. On which variable terminal setting is done ? Name any three terminal settingkeys. 3. Explain key features of UNIX. 4. What is script command, with command explain how to create script file of asession? 5. What happens if a directory permission charged? 6. How do you yank and paste lines? 7. List out the different attributes of a file. 8. What are the different ways of coming out of vi after saving the file? 9. Write general syntax of CASE statements. 10. What is a process ? Name two important attributes of a process. PART - B1. a) Explain layered architecture of unix operating system. With a suitable
command explain the interaction between Shell and Kernel. b) Explain uname command with different options. 2. a) Explain the advantages of ispell, list out the basic commands used in ispell. b) Explain unix file system and give the difference between relative and absolutepathname. 3. a) Explain how to split file into multiple files. Give suitable example. b) Give the difference between Hard Link and Symbolic Link. 4. a) What is a process? Explain the mechanism of creation in unix. b) List out the navigation keys for the cursor movement. 5. a) Explain grep command with at least 5 examples with different options. b) Explain Uniq command. 6. a) Explain the mechanism of executing job periodically using cron. b) Write a shell script to add two numbers by using Expr utility. 7. a) What are positional parameters? Explain the command used to set thepositional parameters. b) Explain Head Command with example. 8. Explain the options and associated actions for ls command.