Question: how do i write this in shell script, ubuntu linux For this exercise we will create a startup script. This script will start the VI

how do i write this in shell script, ubuntu linux

For this exercise we will create a startup script. This script will start the VI editor. You can use any kind of patterns, but its always recommended to use case statement, when youre testing on values of primitives. (ie. integers or characters).

You will call your script startapp and it will take one parameter.

The parameters should be start, stop and restart.

start: You must start VI as a background process so you can still have a shell

stop: You will need to use the kill command to kill the VI process

restart: First your script with kill the vi process, after that it will start a new instance of vi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!