0% found this document useful (0 votes)
18 views

Lab Manual Python and Linux

python and linux

Uploaded by

pahadesunanda17
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Lab Manual Python and Linux

python and linux

Uploaded by

pahadesunanda17
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CS505 Linux (LAB)

Course Outcomes: After completion of the course students will be able to

1. Understand the system calls


2. Compare between ANSI C AND C++ AND POSIX standards
3. Mapping the relationship between UNIX Kernel support for files
4. Understand Kernel support for process creation and termination and memory allocation

Overview of Unix/Linux:-
Concepts, Unix/Linux Installation Process, Hardware Requirements for Unix/Linux,
Advantages of Unix/Linux, Reasons for Popularity and Success of Linux/Unix Operating
System, Features of Linux/Unix Operating System, Kernel, Kernel Functions,

The Shell Basic Commands, Shell Programming:-


Shell Variables, Branching Control Structures, Loop-Control Structure, Continue and break
Statements, Sleep Command, Debugging Script. Use of Linux as web-
server, file server, directory server, application server, DNS server, SMTP server, Firewall,
Proxy server.

File System: -
Definition of File System, Defining Geometry, Disk Controller, Solaris File System, Disk
Based File Systems, Network-Based File Systems, Virtual File systems, UFS File System,
The Boot Block, The Super Block, The Inode, Tuning File System, Repairing File System.

Process Control:-
Viewing a Process, Command to display Process, Process Attributes, Process States, Process
Fields, PS Commands options, PGREP, PRSTAT, CDE Process Manager, Scheduling
Process, Scheduling Priorities, Changing the Priority of a time-sharing process, Killing
Process.

System Security:-
Physical Security, Controlling System Access, Restricted Shells Controlling File Access, File
Access Commands, Access Control List(ACLs), Setting ACL Entries, Modifying ACL
entries on a file, Deleting ACL entries on a file, Restricting FTP, Securing Super User
Access, Restricting Root Access, Monitoring super user Access, TCP Wrappers.

Dynamic Host Configuration Protocol: -


Introduction, DHCP Leased Time, DHCP Scopes, DHCP IP Address, Allocation Types,
Planning DHCP Deployment, DHCP Configuration files, Automatic Startup of DHCP
Server, Configuration of DHCP Clients, Manually Configuring the DHCP.
Case Study: -
Installation of Linux, Customization of Linux, Installation of SAMBA, APACHE, TOMCAT,
Send MAIL, Postfix, Implementation of DNS, LDAP services, Firewall, Proxy server

List of Experiments:-

1. To Study basic & User status Unix/Linux Commands.


2. Study & use of commands for performing arithmetic operations with Unix/Linux.
3. Create a file called wlcc.txt with some lines and display how many lines, words and
characters are present in that file.
4. Append ten more simple lines to the wlcc.txt file created above and split the
appended file into 3 parts. What will be the names of these split files? Display the
contents of each of these files. How many lines will be there on the last file?
5. Given two files each of which contains names of students. Create a program to
display only those names that are found on both the files.
6. Create a program to find out the inode number of any desired file.
7. Study & use of the Command for changing file permissions.
8. Write a pipeline of commands, which displays on the monitor as well as saves the
information about the number of users using the system at present on a file called usere.ux.
9. Execute shell commands through vi editor.
10. Installation, Configuration & Customizations of Unix/Linux.
11. Write a shell script that accepts any number of arguments and prints them in the reverse
order.
12. Write a shell script to find the smallest of three numbers that are read from the keyboard.
13. Write a shell script that reports the logging in of a specified user within one minute after
he/she logs in. The script automatically terminates if the specified user does not login during a
specified period of time.
14. Installation of SAMBA, APACHE, TOMCAT.
15. Implementation of DNS, LDAP services,
16. Study & installation of Firewall & Proxy server

CS506- Python

List of Experiments (Please Expand it):


1. To write a Python program to find GCD of two numbers.
2. To write a Python Program to find the square root of a number by Newton’s Method.
3. To write a Python program to find the exponentiation of a number.
4. To write a Python Program to find the maximum from a list of numbers.
5. To write a Python Program to perform Linear Search
6. To write a Python Program to perform binary search.
7. To write a Python Program to perform selection sort.
8. To write a Python Program to perform insertion sort.
9. To write a Python Program to perform Merge sort.
10. To write a Python program to find first n prime numbers.
11. To write a Python program to multiply matrices.
12. To write a Python program for command line arguments.
13. To write a Python program to find the most frequent words in a text read from a file.
14. To write a Python program to simulate elliptical orbits in Pygame.
15. To write a Python program to bouncing ball in Pygame.

You might also like