Write a script called activity that checks you can execute

Assignment Help Computer Engineering
Reference no: EM131984892

Problem

Write a script called activity that checks whether you can execute a file whose pathname is provided by the user. If you cannot, your script should add read and execute permissions for the user and group. If you can execute, the script should ensure that the user and group have rwx while others can only read the file. In either case, you should display the permissions before and after you've changed them. Include a first line that calls the bash shell as the interpreter Add a comment to state the purpose of the script and other comments to make the script easier to read.

Reference no: EM131984892

Questions Cloud

Implement design in packet tracer : CSG5130 – Network Implementation - You have been given the final design approved by the tender process and hired to implement that design.
What is linear cryptoanalysis and how is it applied : What is linear cryptoanalysis and how is it applied to a problem in general (ie. Not mathematic formulas, but how you would apply approach to some new crypto).
What is the sensitivity of your plans market value to change : What is the sensitivity of your plan's market value to changes in the market interest rate?
What is reynoldss current debt ratio : Reynolds Construction needs a piece of equipment that costs $200. Reynolds can either lease the equipment or borrow $200 from a local bank.
Write a script called activity that checks you can execute : Write a script called activity that checks whether you can execute a file whose pathname is provided by the user.
What are the particulars of trespass or violation : Consider the essay "Library Card" by Richard Wright as a tale of transgression; what are the particulars of trespass or violation as the author portrays them?
At what rate has your capital grown : On the advice of your broker ten years ago, you invested in a $6 stock that is now selling for $30. At what rate has your capital grown?
How much should sherrie deposit into her account each week : MATH250 Business Mathematics Assignment - Sherrie Orlov wants to save $1000.00 in one year, How much should Sherrie deposit into her account each week
Give details from the play to support opinion : Then discuss whether or not you think Macbeth changes as a character because of this prediction. Give details from the play to support your opinion.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd