Create a script named test-files and

Assignment Help Computer Engineering
Reference no: EM131182155

Homework 1

First scripts.

1. Create e script named date_time, which would  display a message
Today date is <the actual date -time information>

2. Create e script named all_users, which would  display a message

The number of users logged on the system is <the number of users to be calculated>

Using read command

3. Create e script named read_myname, which would
a. display a message Please enter your name
b. then read your name being inputted by you
c. then displays the message Welcome to ASA <your name>!

4. Create e script named read_names, which would
a. display a message Please enter your first name
b. display a message Please enter your last name
c. then read your first and last names being inputted by you
d. then displays the message Welcome to ASA <your first name your last name>!

Homework 2.

Using an if construct

1. Create a script named test-files, which would
a. check a file, which is given as the first argument when the script runs
b. if this is a regular file, display the message This is a regular file
c. if this is not a regular file, display the message This is not a regular file

2. Create a script named test-files2, which would
a. check a file, which is given as the first argument when the script runs
b. if this is a regular file, display the message This is a regular file
c. if this is a directory, display the message This is a directory
d. if something else, display the message This is not regular file neither directory

Using an if construct inside of for loop

3. Create a script named test-files3, which would
a. check all files, which are given as the argument in the for loop
b. if this is a regular file, display the message This is a regular file
c. if this is not a regular file, display the message This is not a regular file

4. Create a script named test-files4, which would
a. check all files, which are given as the arguments to the for loop
b. if this is a regular file, display the message This is a regular file
c. if this is a directory, display the message This is a directory
d. if something else, display the message This is not regular file neither directory

Reference no: EM131182155

Questions Cloud

How many ties of each type may it possibly have : Ties Unlimited stocks $1 ties, $2 ties, and $4 ties. If it has a total inventory of 7,000 ties valued at $12,000. How many ties of each type may it possibly have? If the number of $2 ties is 2,000 how many of each type are there?
Required to manufacture units : It took a contractor 1285 hours to manufacture their first unit of an item. If the contractor expects to achieve a 92% unit learning curve, how many hours would be required to manufacture units 52-100?
Construct a table showing your calculations of net cash flow : Construct a table showing your calculations of net cash flow after tax (NCFAT). Use the method shown in lectures and notes. Calculate the NPV. Is the project acceptable? Why or why not?
How might rubrics be used in performance assessments : How might rubrics be used in performance assessments? Imagine you are a new employee in a human resource (HR) department. Your first task is to develop a stress management seminar for the employees. Determine the topics that should be covered in th..
Create a script named test-files and : Create e script named all_users, which would  display a message and Create a script named test-files
Difference in the proportion of men and women : Suppose this survey was conducted using 374 men and 481 women. Do these data show enough evidence to support the conclusion that there is no difference in the proportion of men and women who think weight is a factor in purchasing a laptop? Use a 5..
Graph the company selected financial data : Graph the company's selected financial data. Explain the role of standard deviation in financial analysis. Explain any other uses for standard deviation in a business setting
How do groups normally develop : How does working effectively on a team give you an advantage in the workplace? How do groups normally develop? How does the effectiveness of the team members influence the group's development process
Standard deviation or population proportion : With a 5% margin of error, a 95% confidence level, and a population size of 2,000,000, how do you calculate the sample size for the mean? No standard deviation or population proportion is provided. Please show your work.

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