Question: I See You Assignment IF Statement 1 . Assign the value of firefox to the variable application. 2 . Use the pgrep command to search
I See You Assignment IF Statement
Assign the value of firefox to the variable application.
Use the pgrep command to search for the process $application.
If Firefox is running, echo out a message warning the user that unauthorized access to the Internet is not allowed during working hours. Note that you may get creative with your message. Use command substitution to send a message to the currently logged in user. Example: whoami
If Firefox is not running, echo out a message commending your First and last name. You may get as creative as you want in your message. KEEP IT APPROPRIATE for an educational setting.
Make sure you include comments for each line of code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
