Knowledge Base
Inicio > Cursos > UNIX
UNIX Tutorial

This course is intended to serve as a general introductory guide to the Unix operating system. The course was written to be given to students for self-study, with some tutorial support. It is intended however that it can be used entirely as a self-study course if necessary. While the course is intended for those learning to use Unix for language processing, the material covered is of interest to any users who wish to explore Unix and develop their own simple applications. The language processing techniques introduced here should be of interest to any user who wishes to handle text files. The course contains a series of exercises, to be found at the end of most chapters, plus some practice material inside the chapters. It is important that you do these as you work through the course. Not only do they serve to consolidate what has been covered in the text, they should lead you to find out more. You will learn much more if you adopt an active, curious and critical approach to Unix. So try things at the keyboard, and don't be afraid to get things wrong - it is an important part of the learning process.

Most of the information given in this course should be relevant for most versions of Unix. However, students should be prepared to encounter local variations.

Information about to the implementation of Unix on Lancaaster University machines is separated from the main text and included in boxes like this, so that the main text may remain as widely applicable as possible.

Table of Contents
 
UNIX Basic

About UNIX
This chapter describes what UNIX is, and how it can be used.

Unix Features
This chapter explains the features of UNIX.

Logging in and out
How to log in and log out in a UNIX system, and change your password.

UNIX filestore
File Hierarchy. Structure of the filestore and basic functions (change directory, display current directory, ...)

UNIX commands
How to use the UNIX commands.

Doing more
How to use the "more" and "pg" commands to view files. How to search a string in files. The control Characters. Printing in paper. Getting Help.

Communications
How to use the mail system and how to log in a remote UNIX system.

File Permissions
How to work whith file permissions.

Standard input and output
How to view the Standard input and output, and how to redirect them.

An introduction to the ex line editor
How to use the ex line editor.

Regular Expressions
How to use the Regular Expressions.

Processing large text corpora
Some useful commands for processing text files.

Introduction to the VI screen editor
How to use the VI editor.

Text Formatting
How to give format to a text.

More on the Shell
Roles, types and features of Shell.

Shell programming
Control structures and commands to program the Shell.

 
Appendices

Appendix A Command summary
There is a list of UNIX commands.

Appendix B Example scripts
There are samples of UNIX scripts.