Answered step by step
Verified Expert Solution
Link Copied!

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

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

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions

Question

United States vs Zhang case

Answered: 1 week ago

Question

=+3. Explain the interactions in the TV market!

Answered: 1 week ago

Question

=+1. Of what is the value chain in the music industry composed?

Answered: 1 week ago

Question

=+2. Explain the manufacturing model of radio management!

Answered: 1 week ago