Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
I can't seem to get this right. I'm not familiar with how to properly use the syntax in bash. B e - Problem set 3-shells
I can't seem to get this right. I'm not familiar with how to properly use the syntax in bash.
B e - Problem set 3-shells OQ SAUS 1 OO 22032042051019235 DilA + puig BB 1. Create a new victual machine in the Opensuse distobution 2 Create a La roup named sployee 3. Install the M D B server and client Start the the MacDB server Create a database and sever 6 w Bookmarks Settings H 306 I ls ents slab Music Sads landon-listing.txt Pictu Sociels onts slab Music Dads landon-listing.txt Pictu 530c in chnod +x.vaemployees -530Ci sh userployee. sh.sh ter: command not found unexpected EOF while looking for Syntax error: unexpected end of -5300:- Create a user named asyon that has all privileges in the database unserer Create the table EMPLOYEE in the ever database with the following columns EMP USERNAME VARCHAR(15) EMP FIRST_NAME NARCHAR(25) EMP LAST NAME VARCHAR(25) 8. Wnte a script named 'wemployeesh It should perform the following functions: Display the men sistem provided below) Add a new employee by prompting the user for an employee username, first name, and last name It should then use that record into the MacDB database and create the user account in the Line operating system using the use add command. The user's first and last name should be included as a comment when creating the we asing the appropriate comunand parameter Assign the Linux user to un employee and create a borne directory ni wandobashkonsole 17AM Delete Poup Pogon Home 1 Num O - + e o 4. Start the the MariaDB server 5. Create a database named anser 6. Create a user named asyaa that has all povileges in the database saserye 7. Create the table EMPLOYEE in the server database with the following columns ks Settings H Huste isting.txt Pictu EMP_USERNAME VARCHAR(13) EMP_FIRST NAME VARCHAR(25) EMP LAST NAME VARCHAR(25) 8. Write a script named acmployee sh It should perform the following Music isting.txt Pictu +X ./uaemployees employee. sh>.sh not found while looking for unexpected end of Display the menu system proud b. Add a new employee by prompting the user for an employee osetimefiest name, st name. It should then use that record into the ManaDB database and create the user account in the Linux operating Sistem in the use add commande user's first and last name uld be included as a comment when creating the user Assin the Line oder to group ndon e bash Computer and Information Sciences 1065 Fondations of Operating Systems Unity of Porth Song 2030 shkonsole e Delete an existing employee from the database by prompting the user for a username Remove the user's Linux account and home directory d Display a listing of all the employees in the system in the database table BORSPORT AITAM Loch Backspace File Edit View wlandon : vi-Konsole Help Bookmarks Settings Enter your selection read -p input until input as #999". mysql -uroot -p "Upass50 If input 1 read - "Enter employee username usname INSERT INTO EMPLOYEE EMP_USERNAME VALUES( usname) read -p "Enter employee's first name" frame INSERT INTO EMPLOYEE EMP FIRST NAME VALUESname) read -p "Enter employee's last name" lname INSERT INTO EMPLOYEEI EMP LAST NAME) VALUES(name) if[input - "2"] read -p "Enter the user name of the employee you wish to remove" remp mysql -Be DELETE FROM EMPLOYEE WHERE iled
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started