OSY MicroProject
OSY MicroProject
1. Brief Introduction
A File Operation application using shell scripting is a program that automates various file-
related tasks and operations on a Unix or Linux-based system. Shell scripting involves writing
a series of commands in a script file that can be executed in the system's shell, often using the
Bash shell. This application is a powerful tool for managing files and directories, performing
tasks like file creation, deletion, copying, moving, searching, and more, all in an automated
and efficient manner.
3. Literature Review
Shell Scripting:
Shell scripting plays a fundamental role in this project. Shell scripts are lightweight,
text-based programs that execute commands in a Unix-like operating system. The use
of shell scripting facilitates the automation of repetitive tasks, making it an essential skill
for system administrators and developers. Bash, as the chosen shell in the project, is a
widely-used shell on Unix-based systems and offers a robust scripting environment.
Name of
Details of Planned Start Planned Finish
Sr. No. Responsible
Activity Date Date
Team Members
Collect
1 information about All
our topic.
Formulating
problem
2 Samir Mule
definition and
prepare proposal.
Coding the
Rushikesh
4 program in Shell
Burankar
scripting
Testing the
5 Srujal Audarya
program.
Final Report
7 All
Presentation.
5.R Resources Required
Name of
Sr. No. Specifications Quantity Remarks
Resource
Computer (intel
1 Computer System i5 10th gen), RAM 1
8GB
In the subject of
Operating Systems(23516)
Submitted By
1. Srujal Audarya
2. Samir Mule
3. Sakshi Khole
4. Rushikesh Burankar
5. Anushka Jain
Submitted To
Mr.M.R.Torney
Lecturer In
Department of Computer Engineering
Government Polytechnic Arvi Dist.-Wardha
(2023-2024)
Government Polytechnic, Arvi
Department of Computer Engineering
Certificate
This is to certify, that students whose name is mention below of Fifth Semester
of Diploma in Computer Engineering has satisfactorily completed the Micro-
project entitled “An File Operation application using shell scripting” in
Operating Systems of the academic year 2023-24 as prescribed in MSBTE
curriculum.
Place: Arvi
Date:
Declaration
We under signed hereby declare that the micro-project report entitled “An File
Operation application using shell scripting”. We further declare that contents
of this report are properly citied and well acknowledge. This present report is not
submitted to any other examination of this or any other institute for the award of
any diploma.
1. Srujal Audarya
2. Samir Mule
3. Sakshi Khole
4. Rushikesh Burankar
5. Anushka Jain
Signature
Place: Arvi
Date:
PART B – Micro-Project Report
An File Operation application using shell scripting
1. Rationale
4. Literature Review
Shell Scripting:
Shell scripting plays a fundamental role in this project. Shell scripts are lightweight,
text-based programs that execute commands in a Unix-like operating system. The use
of shell scripting facilitates the automation of repetitive tasks, making it an essential skill
for system administrators and developers. Bash, as the chosen shell in the project, is a
widely-used shell on Unix-based systems and offers a robust scripting environment.
File and Directory Management:
The project's primary objective is to provide a tool for effective file and directory
management. Shell scripting, with its ability to interact with the filesystem, allows users
to perform tasks such as listing directory contents, changing directories, creating files
and directories, copying, moving, renaming, searching for files, and deleting files and
directories. Each of these functions is integral to daily system administration and data
organization.
File operations:
Shell scripting are essential for working with files and directories in a Unix-like
operating system. Shell scripts provide a powerful and flexible way to interact with the
filesystem, enabling tasks such as creating, modifying, moving, and deleting files and
directories. Here are some common file operations in shell scripting:
5. Proposed methodology:
2.Changing Directories:
.The cd command is used to change the working directory.
Example: cd /path/to/directory to navigate to a specific directory.
Name of
Sr. No. Specifications Quantity Remarks
Resource
Computer (intel
1 Computer System i5 10th gen), RAM 1
8GB
# Main loop
while true; do
show_menu
read -p "Enter your choice (0-9): " choice
case "$choice" in
1) list_directory ;;
2) change_directory ;;
3) create_file ;;
4) create_directory ;;
5) copy_file_or_directory ;;
6) move_file_or_directory ;;
7) rename_file_or_directory ;;
8) delete_file_or_directory ;;
0) echo "Exiting..."; exit 0 ;;
*) echo "Invalid choice. Please try again." ;;
esac
echo ""
done
8. Conclusion
Creating a File Operation application using shell scripting equips you with essential
skills in automation, problem-solving, and efficient file management, making you
proficient in working with Unix-like systems and enhancing your abilities in IT and
software development.
9. Reference
• https://www.tutorialspoint.com/unix/unix-file-operators.html
• https://www.geeksforgeeks.org/shell-script-to-perform-operations-on-a-file/
• https://www.techtarget.com/searchdatacenter/definition/shell-script
• https://chat.openai.com/c/cf59d293-7f08-4c2a-97b7-8067d7b8cebc