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

  Deadlock avoidance and scheduling

Deadlock Avoidance and Scheduling

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  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,

  Create algorithm which prevents deadlock using one semaphore

Using exactly one semaphore, create an algorithm which prevents deadlock. Do not be concerned about starvation and inefficiency.

  Intermediate level tasks

Intermediate Level Tasks :  Below is a simple program. It creates 2 threads. The first thread keeps printing out X on the screen, and the second thread keeps printing out O on the screen.

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

  Write down three parts of linux kernel version number

Write down the three parts of Linux kernel version number, and which is least probable to change? What are "BogoMIPS", and what is their significance?

  Define the term context switch

Define the term context switch. Explain how context switching takes place. (use a diagram, with two processes)

  Describe benefits of providing synchronization tool

Slim reader-writer locks favor neither readers nor writers, nor are waiting threads ordered in FIFO queue. Describe benefits of providing such a synchronization tool.

  Specify the order in which processes execute

Specify the order in which processes execute and determine the mean process turnaround time for each of the scheduling algorithms.

  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?

  Change current operating system of plant

The software house has been contacted by a Governmental Nuclear Reactor Agency that wants to change the current Operating System of their plant.

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