Question

Explain the concept of redirection. Illustrate your answer with an example of a situation where redirection...

  1. Explain the concept of redirection. Illustrate your answer with an example of a situation where redirection would be useful.
  2. What purpose do arguments serve in a batch file or shell script?
  3. Discuss the advantages that result from the client-server architecture of the X Window system.
  4. The designers of the UNIX operating system describe the ideal shell command language as one that is made up of a large set of simple commands, each designed to perform one specialised task well. They also provided various means to combine these simple commands to form more powerful commands.
  • What tools are provided to combine the commands?
  • What are the advantages of this approach over providing a smaller set of much more powerful commands? What are the disadvantages?
  • If you know something about the UNIX or Linux command set, discuss the characteristics of UNIX/Linux commands that make it easier to combine these commands powerfully?
  1. Suppose that you are designing an app for a mobile device, such as iPhone or Android device. Name several services that you would expect to find in the operating system API to assist you with your program design.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

Explain the concept of redirection. Illustrate your answer with an example of a situation where redirection would be useful.

Redirection used to output of a program to be stored to a file rather than being sent to the console

Example

Redirection will be very useful if you want to save the output of a program for later/future use.

---

What purpose do arguments serve in a batch file or shell script?

Arguments create the batch file further general purpose for the reason that you can specify one of more arguments at run time.

Without arguments, you would require to change the batch file every time it is run in order to modify hard coded values.

---

Answered first 2 questions

really sorry couldnt able to solve the remaining

all the best

Add a comment
Know the answer?
Add Answer to:
Explain the concept of redirection. Illustrate your answer with an example of a situation where redirection...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT