This document describes a Linux OS lab course that teaches students to use Linux commands and write shell scripts. The course objectives are to develop expertise in the Unix/Linux environment and understanding Linux commands and scripts. The course outcomes are that students will understand the Linux environment and architecture, be able to use general Linux commands, implement process and file permission concepts, and understand how to combine commands in shell scripts. The course includes 17 suggested practical assignments where students will perform tasks like navigating directories, using commands like date, cal, ls, writing basic shell scripts to display tables, check input characters, calculate factorials, and generate calendars.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
20 views
Lab Linux
This document describes a Linux OS lab course that teaches students to use Linux commands and write shell scripts. The course objectives are to develop expertise in the Unix/Linux environment and understanding Linux commands and scripts. The course outcomes are that students will understand the Linux environment and architecture, be able to use general Linux commands, implement process and file permission concepts, and understand how to combine commands in shell scripts. The course includes 17 suggested practical assignments where students will perform tasks like navigating directories, using commands like date, cal, ls, writing basic shell scripts to display tables, check input characters, calculate factorials, and generate calendars.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Bachelor of Computer Applications
Course Code: BCA 371 L T/PC
Course Name: LINUX – OS LAB 0 42 LEARNING OBJECTIVES: In this course, the learners will be able to develop expertise related to: 1. Unix/Linux environment 2. Understanding of Linux commands and scripts
PRE-REQUISITES:
COURSE OUTCOMES (COs):
After completion of this course, the learners will be able to:
CO Detailed Statement of the CO BT Level Mapping to PO #
# CO1 Understand Linux Environment with the help of its BT Level 1 PO1,PO2 architecture. CO2 Understand the Linux environment by using general BT Level 2 PO1,PO2,PO4 Linux Commands. CO3 Implement Process Related commands. BT Level 4 PO1,PO2,PO4,PO5 CO4 Implement File Permission concept. BT Level 4 PO1,PO2,PO4,PO5 CO5 Understanding the shell script by combining commands. BT Level 2 PO1,PO2,PO4 List of Practicals S. Detailed Statement Mapping to CO # No. Core Practicals Connect to the Linux Server and understand the basic Directory CO1 Structure of Linux. 1
2. To understand help commands like:-man,info,help,whatis,apropos CO2
3. To understand basic directory navigation commands like cat,cd, mv, cp, CO2 rm, mkdir,rmdir ,file, pwd command.
5. To understand vi basics, Three modes of vi Editor, how to write, save, CO5
execute a shell script in vi editor.
6. To understand process related commands like: - ps, top, pstree, CO3
nice, renice in Linux. 7 To understand how to examine and change File permissions. CO4 Bachelor of Computer Applications 8 Set a file to be read-only with the chmod command. Interpret the file CO4 permissions displayed by the ls -l command. 9 Delete one or more directories with the rmdir command. See what CO2 happens if the directory is not empty. Experiment (carefully!) with the rm -r command to delete a directory and its content. 10 Change your directory to the directory exercises. Create a file in that CO2 directory, named the file as example1 using the cat command containing the following text: water, water everywhere and all the boards did shrink; water, water everywhere, no drop to drink. 11 Write basic shell script to display the table of a number. CO5 12 Write basic shell script to input a character from user and then check whether it is uppercase, lowercase or digit. 13 Write basic shell script to calculate factorial of a number. 14 Write basic shell script to input the month number and generate corresponding calendar. 15 Write basic shell script to list all directories. 16 Write basic shell script to display greatest of three numbers. 17 Write basic shell script to check whether the number entered by user is prime or not. Note: 1. 1. In total 15 practicals to be implemented. 2 additional practical may be given by the course instructor. 2. This is a suggestive list of programs. However, the instructor may add programs as per the requirement of the course.This is a suggestive list of programs. However, the instructor may add programs as per the requirement of the course.