Table Scripting

Okay. I've been charged with an assignment to create tables.

I "Made" a manufacturing company called "Suit and Tie". I need subdirectories for the company, using three departments: Human resources, Manufacturing, and Sales.

1) mkdir Suit_and_Tie
2) cd Suit_and_Tie
3) mkdir Human Resources
4) mkdir Manufacturing
5) mkdir Sales

After doing these commands, i proceed. I need three scripts in order to create tables for each sub directory. Each script should ask for the department name, and for that department, create 5 sales persons with ID number and Name(this whole assignment is metaphorical for practice).
I also need ten products sold: salesperson ID number (must come from sales persons), part number (must come from products manufactured), cost of Goods Sold (must come from products products manufactured), and Gross profit (sales Price-cost of goods sold).

How do i begin with these scripts? I can start with vi script[1-3], but I don't know the commands to create a table that ask for the dept. name. Help!? I've googled all over for it!

Is this homework? It appears that way. If so, there is a specific board and rules for posting homework questions.

Please explain the nature of this request, or re-submit as a homework question (on the appropriate board.)

mkdir -p tie_n_suite/{HR,Manufacturing,sales}

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.