logo

Linux File System Management with Scripts

   

Added on  2023-06-07

16 Pages1536 Words421 Views
 | 
 | 
 | 
LINUX
Linux File System Management with Scripts_1

Table of Contents
Introduction................................................................................................................................2
Task 1: Automated Account Management.................................................................................2
Task 2: Designing File Systems.................................................................................................6
Task 3: Implementing the File system.......................................................................................8
Task 4: Making the File System accessible and robust..............................................................9
Task 5: File System Management with Scripts........................................................................12
Conclusion................................................................................................................................13
References................................................................................................................................15
1
Linux File System Management with Scripts_2

Introduction
This projects is used to develop the simple scripts to manage the file and user system
whilst and developing the some expertise in managing a complex file system. This project is
divided into five task like automated account management, designing a file systems,
implementing the file system, making the file system accessible and robust and file system
management with scripts. In automated account management task, we are going to prepare
the two shell scripts and it is used to manage the user information. First shell script is used for
reads the text file called users.txt that contains the following information and the second
scripts is used to remove the user account. In Designing File Systems task, we will
requirements to fabricate the server to store the client information by utilizing the ZFS
volume. The volumes are become the without limits and it was felt that the ZFS framework
and this framework ought to be utilized for every volume. The OS itself needs not be on a
ZFS volume. In implementing the file system task, it is used to implement the storage system.
In making the file system accessible task, we will create another virtual machine to do mount
a NFS exported volume from the server and backup all the data on the ZFS volumes by using
the ZFS. In file system management with scripts task, we will create the two scripts for file
system management. The First scripts is to make the user home directories are owned and
only accessible by the owner and second script is to looks the file system to find the objects
like mp3. These are will be executed and discussed in detail.
Task 1: Automated Account Management
This task is used to create the two shell scripts which manage the user information.
First shell script is used for reads the text file called users.txt that contains the following
information. It is illustrated below ("Beginning Grep for Linux SysAdmins", 2018).
2
Linux File System Management with Scripts_3

Shell Script
#!/bin/bash
FILE="/home/ubuntu/Documents"
echo "*** File - $FILE contents ***"
cat $FILE
To run the shell script by monitors the below steps,
Open terminal and go to script location by using the cd command.
After, gives the file permission by typing following command on terminal.
chmod +x user.sh
Finally, run the shell scripts by typing the below command on terminal.
./user.sh
This process is illustrated as below ("BeginningLinux.com", 2018).
3
Linux File System Management with Scripts_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Developing Simple Scripts for File and User System Management with ZFS Volume
|18
|2359
|76

Automated Account Management, Designing and Implementing File Systems in Linux
|11
|647
|305

Linux File System: Automated Account Management, Designing File Systems, File System Management with Scripts
|12
|721
|455

Linux Server Administration: Automatic Management of Account, File System Designing, Implementation, Making the File System accessible and robust, Management of File System using the Scripts
|11
|695
|90

Linux File System: Design, Implementation, and Management with Scripts
|19
|2943
|403

LINUX Server Administration: Automated Account Management, Designing File Systems, File System Management with Scripts
|11
|530
|287