Bachelor of Computer Applications
Course Code: BCA 371 L T/P C
Course Name: Practical-X LINUX – OS LAB 0 4 2
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 Structure CO1
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, rm, CO2
mkdir,rmdir ,file, pwd command.
4. To understand basic commands like:- CO2
date,cal,echo,bc,ls,who,whoami,hostname,uname,tty,aliase
5. To understand vi basics, Three modes of vi Editor, how to write, save, execute CO5
a shell script in vi editor.
6. To understand process related commands like: -ps, top, pstree, nice, renice CO3
in Linux.
7 To understand how to examine and change File permissions. CO4
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.
Bachelor of Computer Applications
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. 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.