Unix Basics Training Co-ordinator
Netizen Pty Ltd
Copyright © 1999-2000 by Netizen Pty Ltd

Open Publication License

This work (Netizen "Unix Basics" training module notes) is licensed under theOpen Publication License.

LICENSE

Terms and Conditions for Copying, Distributing, and Modifying

Items other than copying, distributing, and modifying the Content with which this license wasdistributed (such as using, etc.) are outside the scope of this license.

1. You may copy and distribute exact replicas of the OpenContent (OC) as you receive it, in anymedium, provided that you conspicuously and appropriately publish on each copy an appropriatecopyright notice and disclaimer of warranty; keep intact all the notices that refer to this License andto the absence of any warranty; and give any other recipients of the OC a copy of this License alongwith the OC. You may at your option charge a fee for the media and/or handling involved in creatinga unique copy of the OC for use offline, you may at your option offer instructional support for the OCin exchange for a fee, or you may at your option offer warranty in exchange for a fee. You may notcharge a fee for the OC itself. You may not charge a fee for the sole service of providing access toand/or use of the OC via a network (e.g. the Internet), whether it be via the world wide web, FTP, orany other method.

2. You may modify your copy or copies of the OpenContent or any portion of it, thus forming worksbased on the Content, and distribute such modifications or work under the terms of Section 1above, provided that you also meet all of these conditions:

a) You must cause the modified content to carry prominent notices stating that you changed it, theexact nature and content of the changes, and the date of any change.

b) You must cause any work that you distribute or publish, that in whole or in part contains or isderived from the OC or any part thereof, to be licensed as a whole at no charge to all third partiesunder the terms of this License, unless otherwise permitted under applicable Fair Use law.

These requirements apply to the modified work as a whole. If identifiable sections of that work arenot derived from the OC, and can be reasonably considered independent and separate works inthemselves, then this License, and its terms, do not apply to those sections when you distributethem as separate works. But when you distribute the same sections as part of a whole which is awork based on the OC, the distribution of the whole must be on the terms of this License, whosepermissions for other licensees extend to the entire whole, and thus to each and every partregardless of who wrote it. Exceptions are made to this requirement to release modified worksfree of charge under this license only in compliance with Fair Use law where applicable.

3. You are not required to accept this License, since you have not signed for savings account. However, nothing elsegrants you permission to copy, distribute or modify the OC. These actions are prohibited by law ifyou do not accept this License. Therefore, by distributing or translating the OC, or by deriving worksherefrom, you indicate your acceptance of this License to do so, and all its terms and conditionsfor copying, distributing or translating the OC.

NO WARRANTY

4. BECAUSE THE OPENCONTENT (OC) IS LICENSED FREE OF CHARGE, THERE IS NOWARRANTY FOR THE OC, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHENOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIESPROVIDE THE OC "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED ORIMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK OF USEOF THE OC IS WITH YOU. SHOULD THE OC PROVE FAULTY, INACCURATE, OR OTHERWISEUNACCEPTABLE YOU ASSUME THE COST OF ALL NECESSARY REPAIR OR CORRECTION.

5. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILLANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MIRROR AND/OR REDISTRIBUTETHE OC AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANYGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USEOR INABILITY TO USE THE OC, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEENADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Additionally:

6. If you offer training based upon this OpenContent, you must prominently display a notice stating whether or notyou are a Netizen Certified Training Organisation on the Open Contentitself and on any material advertising or publicising your training.

a) If you are a Netizen Certified Training Organisation, you must statethat you are a Netizen Certified Training Organisation and display theNetizen Certified Training Organisation logo. You must also provide aURL for more information, namely http://netizen.com.au/services/training/ncto/

b) If you are not a Netizen Certified Training Organisation, you muststate that you are not a Netizen Certified Training Organisation. Youmay not use the Netizen Certified Training Organisation logo. Youmust also provide a URL for more information, namely http://netizen.com.au/services/training/ncto/

Netizen and the N logo are trademarks of Netizen Pty Ltd. All rightsreserved.


Table of Contents
1. Introduction
About this course
Course outline
Assumed knowledge
Module objectives
Materials
Platform and version details
The course notes
2. What is Unix?
In this chapter...
Unix history
Features of Unix
Multi-user, multi-tasking
Security
Network capabilities
Flavours of Unix
Understanding Unix
As a language
As a tool
Chapter summary
3. Logging in
In this chapter...
How to log in
Exercise
What will you see?
Message of the day
Terminal type
Fortune cookie
The prompt
Changing your password
Hints for thinking up a good password
What to do if you forget your password
Logging out
Exercise
Chapter summary
4. The shell
In this chapter...
What is a shell?
Different shells
Using the shell
Simple commands
Filename wildcards
Filename completion
Command history
Redirection and pipes
Configuring the shell
Chapter summary
5. Getting help
In this chapter...
Manual pages
Finding the right man page
Categories for man pages
How manual pages are written
Exercise
Other documentation
The documentation directory
WWW documentation
Books
Sysadmins: Care and feeding
Chapter summary
6. Files and directories
In this section...
Everything is a file
Filenames
Listing files
Long format
Showing hidden files
Exercise
The Unix system's file structure
Viewing files
The cat command
More or less
Copying files
Exercise
Moving or renaming files
Exercise
Deleting files
Exercise
Changing directories
Exercise
Finding your current directory
Exercise
Creating and deleting directories
Exercise
Chapter summary
7. Editing
In this chapter...
The vi editor
Command and Insert modes
Movement commands
Simple text editing commands
Searching and replacing
Cutting and pasting
Some fun and useful commands
Saving and quitting
Settings
Exercise
Variants of vi
Other editors
emacs
pico
joe
jed
Chapter summary
8. Users, groups and permissions
In this chapter...
Users
The /etc/passwd file
who, whoami andw
The finger command
Groups
The /etc/group file
The groups command
Permissions
Finding a file's permissions
Changing a file's permissions
Chapter summary
9. Processes
In this chapter...
What is a process?
Listing processes - the ps command
Exercise
Command line switches to ps
Killing processes
Exercise
Background processes and job control
Running a process in the background
Listing running jobs
Bringing a backgrounded process to the foreground
Backgrounding an already-running job
Killing a running job
Chapter summary
10. About Linux
What is Linux?
Hardware requirements
Getting Linux
Getting help
Linux User Groups (LUGs)
Linux consultants and businesses
Online resources
11. Conclusion
What you've learnt
Where to now?
Further reading
Unix history and culture
Online Unix tutorials
A. ASCII Pronunciation Guide
Undelete
English and French Bulldogs
Unix Training

  Next  Introduction