Purchase Solution

Demonstration of several unix commands

Not what you're looking for?

Ask Custom Question

Using UNIX
Please explain how to do the following:

1. Create a directory called class.

2. Move into that directory directory.

3. Create a text file, that contains what is your absolute path, relative path and call it paths.txt

4.Create a sub directory called your name under the class directory.

5. Create a file called my.dat with your favorite quote.

6. Rename the file to my.txt

7. Delete the file.

8. Delete the directory

9. Show the current directory using the pwd command.

10. List the date and time.

Purchase this Solution

Solution Summary

In this solution I demonstrate how to use several unix commands to create directories, change directories, and remove directories. I also show a simple way to create a file and view the current path information.

Solution Preview

For each of the ten items listed in the problem I will explain the command that is used to accomplish the task and then show the command as it would be typed from the command line. The prompt for each command will be >.

To create a directory in UNIX you use the "mkdir" command.

> mkdir class

To move into a directory ...

Purchase this Solution


Free BrainMass Quizzes
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.

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: 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.

Basic Networking Questions

This quiz consists of some basic networking questions.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.