WordPress.com



lefttopVyas College of Engineering & Technology, JodhpurDepartment of Computer EngineeringTutorial: Fundamental of Linux & Shell Programming (3CS5)Unit 1: IntroductionQ1. Differetiate between file permissions and directory permissions.Q2. Explian the various directory commands used in Linux. (Hint: mkdir, rmdir, rm, cd, cp, mv, pwd)Q3. Explain the following commands which include syntax, description and options:pwd e. wcwhof. lspasswdg. grepman and infoQ4. (a) What is the importance of environment variable in Linux? (b). Explain the use of following environment variable with their syntax: (i). PATH (ii). Display (iii). HOME(iv). CD (v). PS1 and PS2 (vi). LANGQ5. Explain the basic architecture and file System of UNIX Operating System.Unit 2: VI Editor & Programming UtilitiesQ1. (a) What is the significance of vi editor? (b) Explain the various modes of vi editor.Q2. Explain the following vi commands:yankd. Deletionpute. Search and replaceinsertion commands Q3.(a) What are the advance editing techniques?(b). What is the importance of .exrc file in the behaviour of vi editor? Also Explain the default environment for vi editor.Q4. Explain the make utility with example make file.Q5. (a). Differentiate between compiler and debugger. (b). Explain the Compiling and linking in C and C++.Q6. Explain the following system calls used in Linux System:getrusaged. forkfcntle. createxec f. seekUnit 3: Introduction to X-windows SystemQ1. Explain the following terms used in X windows system:X ServerX ClientXDM ( X Display Manager)Window Manager with KDE and GNOME environmentQ2. What is the importance of .xinitrc file in the behaviour of X window system? Also explain the default environment for X window system.Q3. (a) Explain the use of following in fvwm parameters: ClickToFocus, IconBox, StayOnTop, Autoraise (b).What is the role of following file in setting up the X windows for a user: .xinitrc, .xsession, .xdefaults (C). Differentaite between remote display and local display in linux.Q4. Explain the fvwm Window manager in x-Window system. Unit 4: Shell & Bourne Again ShellQ1(a). Define shell. Explain the various types of shells. (b). Explain the directory stack manipulation in BASH Shell.Q2(a). Write steps to execute a shell script in linux. (b). Define shell variable. Explain the various types of shell variable in bash shell.Q3(a). Define process and job. (b).Differentiate between foreground and background process with commands.Q4. Explain the various special character used in shell with example.Unit 5: Shell ProgrammingQ1. What do you understand by bash builtin commands? Explain any ten bash built-in commands in detail.Q2. Explain the various control structure used in shell programming with example.Q3. (a). Explain the basic structure of awk with example. (b). Write a shell script to calculate number of words, characters and lines in a given file without using wc command.Q4(a). Write a shell script to calculate sum of fibbonacci series upto n terms. (b). Write a shell script to print following pattern1 11121 1331 (c). Write a shell script to calculate largest among three numbers. (d). Write a shell script to calculate compound interest. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download