Which take one parameter on the command line

Assignment Help Other Subject
Reference no: EM132510453

Write an MS-DOS batch or Linux shellscript program:

Linux shell script

Question: 1. Which prompts the user to enter a numeric expression (such as 2 * 14 + 6) and outputs the result to the screen.

Question: 2. Which take one parameter on the command line which is the name of a directory. If the user does not enter any parameters on the command line it should prompt the user for it. If the directory does not exist then it creates it or if the directory exists it tells the user the directory already exists.

Question: 3. Helps maintain a log file. It should present the user with a menu with two options, option one prompts the user for a comment (it does not matter what) then adds a line to the end of a log file called "log.txt" (in the current directory) which contains the comment. It should preserve the previous contents of the file (if it exists). Option two deletes the log file.

Reference no: EM132510453

Questions Cloud

What are the genotypes of the parents and children : Of their four children, one has free earlobes and three have attached earlobes. What are the genotypes of the parents and children?
Capable of human-like thought processes : Respond to the following statement: Animals are not capable of human-like thought processes, and therefore they cannot be cooperating.
Calculate standard quantity of direct labor for one quilt : Calculate the standard quantity of direct labor for one quilt. Caro-Lind Inc. manufactures personalized baby quilts. An experienced embroiderer can personalize
What are the genotypes of the parents and children : They have 8 children with free earlobes. What are the genotypes of the parents and children?
Which take one parameter on the command line : Which take one parameter on the command line which is the name of a directory. If the user does not enter any parameters on the command line it should prompt
Child who has the attached earlobe trait : Can a couple where one is homozygous for free earlobes and one is homozygous for attached earlobes have a child who has the attached earlobe trait?
Calculate the standard quantity of american cherry in mathis : Calculate the standard quantity of American cherry in Mathis's music stand. Mathis Music Stands manufactures decorative wooden music stands
Earlobes have a child with free earlobes : Can a man and a woman with attached earlobes have a child with free earlobes? Explain with the help of punnet square
Calculate graymonts standard price for a gallon of solvate : Calculate Graymont's standard price for a gallon of Solvate. Graymont Industries purchases Solvate, a chemical compound used in several products

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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