Lesson6.Working with the Shell


Lesson 6. Working with the Shell

In this lesson, you will expand on the last lesson and learn how to create and delete data from your Unix system.

In the last lesson we ended by talking about finding files within KDE. In this lesson, we focus primarily on the shell prompt and discuss how to manage data (files and directories) using the power of the Unix command line. We will also cover how to make directories and remove them.

Why would you want to do this? Well, there are many reasons. If you work with a very large amount of data, just having it organized in directories with names that correspond to your work or organization can save you a lot of time when trying to find data. As well, you may want to create a directory to put data in to send to someone so that it is organized. You may also need to delete a directory once it has been emptied, to save space, and again, to stay organized.

Deleting Needed Data Is Not Good There are a couple of things you should consider before using any of these commands in this lesson. Unix takes what you say very literally, so if you enter a command, be very careful. There are a couple of things you should consider before using any of these commands in this lesson.

You should not be tampering with production data at work if you are just practicing. You may want to ask for permission to work on your Unix system if you are afraid you may make a mistake and lose important data. If you are at home, the sky is the limit if you set up your system as a test system.


File management at the shell prompt is not difficult. In this next part of the lesson, we will cover the fundamentals of working with files and folders within Unix at the command line.



    SAMS Teach Yourself Unix in 10 Minutes
    Sams Teach Yourself Unix in 10 Minutes (2nd Edition)
    ISBN: 0672327643
    EAN: 2147483647
    Year: 2005
    Pages: 170

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net