Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8982445 1/courses/201810.11278/Lab1 Spring2018.CS405.pdf Write a bash shell the last 12 months for ADTE Inc. Your program prompts the user to enter the stock I script

image text in transcribed
8982445 1/courses/201810.11278/Lab1 Spring2018.CS405.pdf Write a bash shell the last 12 months for ADTE Inc. Your program prompts the user to enter the stock I script program to generate a report based on the stock market data in the keyboard, inputs the data, calculates and displays values in the last 12 months from the average value. You can enter the stock data below (unit is USS) to test your program 99 100 95 89 120 165 109 91 83 67 75 101 Your program output should be: The average value is: US$99.5 Steps: (note: all linux commands are highlighted in bold) . Login your computer and launch the Linux SUSE 2. Start a x-terminal by right-clicking the mouse at the desktop window; . Enter the following commands to create a new directory under the Student's Home and change the current directory to CS405 SPI8 mkdir CS405SP18 ed C$40S_SPI8 Use vi to create a shell seript file as follows: -i labl.sh - 4. Now you can use Insert key to switch to Insert mode and start typing your program. After you are done, remember to use Esc Key to switch to command mode. Then enter wq to save and quit from vi. Enter the following commands to check and add the execution permission to labl.sh 5. chmod + labl.sh Run and test your labl.sh by entering the following command 6. 7. Subenit labl sh from the link in Blackboard/Assignments before the deadline

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions