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
Get step-by-step solutions from verified subject matter experts
