Unix shell programming

Assignment Help Basic Computer Science
Reference no: EM13983702

Unix shell programming

Write a program called home5. Write a program called home that takes the name of a user as its single argument and prints that user's home directory. So home steve would print /users/ steve if /users/ steve is steve's home directory. 

Reference no: EM13983702

Questions Cloud

Describe the sample space : Describe the sample space ?. What is the probability that three tosses will be required?
Functions is performed by the loader : Which of the following functions is/ are performed by the loader? A. Allocate space in memory for the programs and resolve symbolic references between object decks B. Physically place the machine instructions and data into memory
What if such an earthquake were to hit a waste depot : Wikipedia indicates the approximate energy released by an earthquake relative to the destructive power of TNT With reasonably large quakes (> 4.0 on the Richter Scale), the energy dissipated is of the order of Giga-joules. If a seam (Uranium, Thor..
Why does current go to zero at some negative voltage : Why does current go to zero at some negative voltage and what determines that voltage? Draw on the graph to show how the curve will change if the intensity is increased.
Unix shell programming : Write a program called home5. Write a program called home that takes the name of a user as its single argument and prints that user's home directory. So home steve would print /users/ steve if /users/ steve is steve's home directory.
What is their frequency : Wind gusts create ripples on the ocean that have a wavelength of 5.00 cm and propagate at 2.00 m/s. What is their frequency?
How much heat entered or left the helium during segments : How much heat entered or left the helium during segments ab, bc, and ca? By how much did the internal energy of the He change from a to b, from b to c, and from c to a?
What is the direction of the induced current in the loop : For the wire arrangement in the figure, a = 12.9 cm and b = 17.3 cm. The current in the long straight wire is given by i = 5.86t2 - 13.1t, where i is in amperes and t is in seconds. Find the emf in volts in the square loop at t = 4.38 s.
Find the magnitude of the force on each segment of wire : A wire is bent as shown in the figure below and placed in a magnetic field with a magnitude of 1.4 T in the indecated direction. Find the magnitude of the force on each segment of wire if x = 25 cm and the wire carries a current of 2.0 A to the le..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe how and why information systems are used today

Explain the main factors that you should consider before deciding whether to buy a laptop or a tablet. Identify the key features of a laptop and a tablet. Next, discuss three (3) important characteristics of each that might influence your decision.

  The object-oriented paradigm supports abstractions

1) The Object-Oriented Paradigm supports abstractions through Classes. Classes are software-programming abstractions; they encapsulate a set of related attributes (data members) and behaviors (methods) while, at the same time, they hide essential det..

  Write an algorithm to sort three numbers in ascending order

determine and write an algorithm to sort three numbers in ascending order

  How does new media differ from traditional media

How does new media differ from traditional media? What are the advantages and disadvantages of each? Consider at least one type from each group and discuss those types specifically.

  Explain the discrepancy

Explain the discrepancy

  Investigation of object-oriented programming by creating

We begin our investigation of object-oriented programming by creating an object-oriented program with a class called Employee. You will create two objects based on the Employee class, along with a class that contains the main method. The attributes, ..

  Pareto efficiency or domination

For each statement give 2x2 matrix that shows it is false. (I'd start by looking at the games I put up in class, Prisoner's Dilemma, Battle of the Sexes, World's Dumbest Game, etc.) When I talk about Pareto efficiency or domination assume it's strong..

  Using a competitive ratio measure

Imagine you are standing next to a long fence, extending as far as you can see in both directions. You want to cross the fence and you know that somewhere it has a hole you can go through. But, you don't know whether the hole is to your right or..

  Show by induction

Show by induction that n^5- n is divisible by 5 for all n ? 0.

  Design the class doctortype

Design the class doctorType, inherited from the class personType, with an additional data member to store doctors speciality. Add appropriate constructors and member functions to initialize, access, and manipulate the data members.

  How documents appear both on the screen and when printed

Changing options in the screen affects how documents appear both on the screen and when printed

  Examine the challenges of developing erp system

Examine the challenges of developing ERP system

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