Purchase Solution

Shell script for Knoppix

Not what you're looking for?

Ask Custom Question

Convert the pseudocode given below into an executable shell script for Knoppix, following the same order.

Pseudo-code:

· Change to the /tmp directory.
· Change to your home directory.
· Display the previous working directory using a shell variable.
· Display your home directory using a shell variable.
· Display your home directory using an alternate method to using a shell variable.
· Display the amount of time the shell will wait for user input before the current shell is terminated using a shell variable.
· Set the previous variable to 120.
· Display the amount of time the shell will wait for user input before the current shell is terminated using a shell variable.
· Set the previous variable to 0.

Purchase this Solution

Solution Summary

The solution also gives a sample output from execution of script.

Solution Preview

When you run the attached script 283505.sh, you will get an output similar to following.

------ sample ...

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Javscript Basics

Quiz on basics of javascript programming language.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.