Question: In Linux Create a bash script named as check_app.sh that: o Check whether the flameshot command (/usr/bin/flameshot) exists or not o If it does not

In Linux

Create a bash script named as check_app.sh that:

o Check whether the flameshot command (/usr/bin/flameshot) exists or not

o If it does not exist, you should ask whether the user wants to install it or not.

o If the user wants to install it, run a sudo command to install the app. Make sure to use the -y option such that the installation will run automatically

o If the app exists, print out a text saying that the app exists, and the user can run the command

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!