Change the mode of the file to an executable to automate the whole process
Consider running the file in root mode to give the automount service full permissions
This .txt files contains the commands and comments
The folder contains 3 files:
	The .txt
	A bash script(unexecutable)
	A bash script(executable)



# install the autofs package with a yes argument to accept
# the installation package instead of prompting users
sudo yum install autofs 

#create a new file in the /etc/ directory
#variable for the file directory to be used in the next line of code
FILE="/etc/auto.master.d/guests.auto.fs auto.guests"

#create and write the contents of the files
echo "* -rw,sync classroom.example.com:/home/guests/&" > FILE

#first we need to enable the automount service with root privelegdes
sudo systemctl enable autofocus 

#we then start th automount service also in root permissions
sudo systemctl start auto fs

