Solving a shell script issue

Assignment Help Operating System
Reference no: EM1379151

Question: Some operating system shells use linefeed characters 'r' as new line characters (such as some Mac Operating System). Determine when a script containing these invisible characters are interpreted by linux or *nix shells, they are flagged as errors, since *nix uses 'n' as new lines. For example they might produce the following error: command not found line
The solution shows how to get rid of these 'r' characters.

Reference no: EM1379151

Questions Cloud

Ethical, legal and security responsibilities : Determine some of the ethical, legal and security responsibilities health care organizations must address when they implement health care database?
Discuss role based on what you think is gender specific : Based on your knowledge of mother's also father's roles, pick a role also discuss role based on whether you think it is gender specific or not.
Designing crow foot e-r diagram : Make an IE Crow's Foot E-R diagram for the entities section and employee and the 1:N relationship between them. Suppose that a section/department does not require to have an employee.
Discussion on dns for internet operations : Discuss how do you think the DNS is important for internet operations and what would happen if the DNS of your company/orgnization or your provider or root DNS fails?
Solving a shell script issue : Determine when a script having these invisible characters are interpreted by linux or *nix shells, they are flagged as errors, since *nix uses 'n' as new lines.
Solving problem by ipv6 : Discuss and explain some of the problems NATs develop for IPsec security. Solve this problems through using IPv6?
Ethical issues of web site design : Analyze the user interaction interface of a typical website that you might wish to improve and design in terms of any ethical considerations that might require to be addressed.
Comparison between utility companies paper : Explain the type of nonrenewable energy resource used and their short-term and long-term effects on the environment
Determine major computer components : Suppose you have decided to buy a personal computer system for personal use and wish to be able to do the following tasks on the computer,

Reviews

Write a Review

Operating System Questions & Answers

  Fragmented mean in reference to hard drives

What does fragmented mean in reference to hard drives, and what, if anything, should be done to prevent it. Describe the general path data takes in an application from user input to the computer hardware.

  Write pseudocode of thread with and without semaphores

Assume we have two threads A and B A and B are to repeatedly print out ping and pong. Write down pseudocode of thread A and B How can this be solved with and without semaphores.

  Draw curves for throughput-delay and power

Assume two hosts A and B are connected via router R. A-R link has infinite bandwidth; A-R link has infinite bandwidth; draw curves for throughput, delay, and power, each as function of load.

  What are some ways to integrate linux servers

What are some ways you could integrate Linux servers into a Windows network to share information? What would be the advantages and disadvantages?

  Write the start-up steps in windows nt

Write the start-up steps in Windows NT. Provide estimate for the capital investment needed in computer forensics for a 2,000,000 population.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Construct resource allocation graph with processers

Construct a resource allocation graph with the following processers and resources, the system consists of four processers P1, P2, P3, and P4 and five resources R1, R2, R3, R4, and R5.

  Design several security awareness posters

With the help of graphics program, design many security awareness posters on the following themes, updating antivirus signatures, watching out for e-mail viruses.

  Question about sarbanes oxley act in the us

Sarbanes-Oxley Act in the United States has greatly increased the compliance obligations of publicly traded corporations.

  Illustrate results applying deadlock detection algorithm

Illustrate the results applying deadlock detection algorithm to following data. Give proper description for supporting your answer.

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Describe how to prevent race condition from occurring

Function and wife calls deposit (). Explain how a race condition is possible and what might be done to prevent race condition from occurring.

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