Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

Shell Scripting in Knoppix

I am trying to create a script in Knoppix 4.02 (KDE or Kwrite or Kate) based on the following requirements below. I want to create a prompt that will: · Request user specific name · I want Linux to compare it to an established name(Esther) · I want the Linux to find the user specified name or Esther asking is this your name or another. I am also using Knoppix 4.02 to , create the file below but I can not turn on vim text editor on . When I open up kWrite or Kate I get nothing and Konsole leave me lost when insert the following text below . I attempt to create and run file after e text is entered into vi editor . Once complete I have tried to exec... click for more

Subject:

Computer Science

Topic:

Operating Systems

Posting ID:

120165

OTA ID:

105415

View Details $1.99 Download Add to Cart

How to write interactive Unix Shell Scripts using Case

1. Use "vi" to create a shell script copying the following: #!/bin/bash echo Select a country from the following list: echo America, Italy, France, Germany read country case $country in [Aa]merica ) echo Ford; echo Perhpas;; [Ii]taly ) echo Ferarri; echo no;; [Ff]rance ) echo Peugeot ;echo no way;; [Gg]ermany ) echo Porsche ;echo yes;; esac · Run the shell script. 2. Create your own shell script that completes the following problem: § Ask the user their name § Compare it to your name § Give a reply that their response is either your name too or it is a nice name too.

Subject:

Computer Science

Topic:

Operating Systems

Posting ID:

125018

OTA ID:

103644

View Details $1.99 Download Add to Cart

Components - Memory Management

Components - Memory Management. See attached file for full problem description.

Subject:

Computer Science

Topic:

Operating Systems

Posting ID:

129510

OTA ID:

105277

View Details $1.99 Download Add to Cart

Describe what your handheld OS will do, how you will design it and what features will be present.

You have just been given an assignment to develop an operating system for a new hand-held device your company is producing. You evaluate competing products such as the Palm OS, Linux OS, Windows CE and other developed products. While you can see advantages to each OS, you believe you can improve on existing features of the OS. In a detailed paper, describe what your OS will do, how you will design it and what features will be present. Do not generalize, make this a very specific with diagrams and other supporting materials. There is no programming required.

Subject:

Computer Science

Topic:

Operating Systems

Posting ID:

129512

OTA ID:

105440

View Details $1.99 Download Add to Cart

Forking of new processes

[A] What happens when you run the following piece of code: main(int argc, char ** argv) { for(;;) fork(); } [B] Given the following piece of code: main(int argc, char ** argv) { int child = fork(); int c = 5; if(child == 0) { c += 5; } else { child = fork(); c += 10; if(child) c += 5; } } How many different copies of the variable c are there? What are their values? [C] Given the following piece of code main(int argc, char ** argv) { forkthem(5) ... click for more

Subject:

Computer Science

Topic:

Operating Systems

Posting ID:

129513

OTA ID:

105381

Page generated in 0.0129 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples