Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started