Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

UNIWA

UNIVERSITY OF WEST ATTICA
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER ENGINEERING AND INFORMATICS

University of West Attica · Department of Computer Engineering and Informatics


Operating Systems I

Bash Scripts

Vasileios Evangelos Athanasiou
Student ID: 19390005

GitHub · LinkedIn


Supervision

Supervisor: Vasileios Mamalis, Professor

UNIWA Profile

Supervisor: Dimitrios Karolidis, Applications Lecturer

UNIWA Profile · LinkedIn

Co-supervisor: Georgios Pentaris, Academic Scholar

UNIWA Profile


Athens, January 2022



README

Bash Scripts

This repository contains a comprehensive assignment for Linux shell scripting, designed to enhance students’ proficiency in managing the Linux file system and processes through Bash scripts.


Table of Contents

SectionFolder/FileDescription
1assign/Assignment material for the Bash Scripts workshop
1.1assign/OS1_Lab_Ask-2-2021-22.pdfAssignment description in English
1.2assign/ΛΣ1_Εργ_Ασκ-2-2021-22.pdfAssignment description in Greek
2docs/Bash script scenarios and explanations
2.1docs/Bck-Script.txtBackup script scenario in English
2.2docs/Bck-Σενάριο.txtBackup script scenario in Greek
2.3docs/Cmpdir-Script.txtCompare directories script scenario in English
2.4docs/Cmpdir-Σενάριο.txtCompare directories script scenario in Greek
2.5docs/Createpvs-Script.txtCreate PVS script scenario in English
2.6docs/Createpvs-Σενάριο.txtCreate PVS script scenario in Greek
2.7docs/Mfproc-Script.txtMfproc script scenario in English
2.8docs/Mfproc-Σενάριο.txtMfproc script scenario in Greek
2.9docs/Searching-Script.txtSearching script scenario in English
2.10docs/Searching-Σενάριο.txtSearching script scenario in Greek
3src/Bash script source files
3.1src/bck.shBackup script
3.2src/bck1.shBackup variant 1 script
3.3src/bck2.shBackup variant 2 script
3.4src/cmpdir.shCompare directories script
3.5src/createpvs.shCreate PVS script
3.6src/mfproc.shMfproc processing script
3.7src/searching.shSearching script
4README.mdProject documentation
5INSTALL.mdUsage instructions

1. Project Overview

The assignment covers five Bash scripts that handle:

  1. Searching Files – Using find, ls, and grep to filter by permissions, modification time, and directory access.
  2. Directory Comparison (cmpdir) – Identifying unique and common files, moving them, and creating hard links.
  3. Directory Creation (createpvs) – Creating directories with proper permissions and ownership.
  4. Backup (bck) – Archiving files/directories using tar with optional scheduling via cron or at.
  5. Process Management (mfproc) – Displaying processes by user or state (Running, Sleeping, Zombie).

The goal is to strengthen Linux CLI skills and shell scripting expertise.

About

Linux shell scripting assignment featuring scripts for file searching, directory comparison, backup, process management, and directory creation, enhancing command-line and Bash skills (Operating Systems I, UNIWA).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages