Introduction to Basic Unix System Administration

Machtelt Garrels

Legal Notice
Table of Contents
Forword
What is Unix about?
History
The user interface
Brief overview of the pros and cons of Unix
Advantages:
Disadvantages:
Flavours
Linux
Unix is Unix
GNU
Introduction to the Unix File System
Functions of an operating system
The kernel
The shell
The filesystem
Access to the Unix system, to files and directories
Getting started
What do you need?
Connecting to a system
Changing your password
Disconnecting from a system
Moving through the filesystem
Absolute Pathnames vs. Relative Pathnames
Finding files
How Unix security works
Access Modes
Access control
Some practical examples
Changing file ownership
Switching between users
The root user
Viewing file content
The file command
The cat command
The more, less and pg commands
Viewing file content in X Windows
Editors
Introduction
The vi editor
Two modes
Basic commands
The emacs editor
The pico editor
Customizing your account
Shell setup files
Practical example: Configuring your shell prompt
Why should I change my prompt?
What and where
Some examples to configure your C shell
Some examples configuring the bash-prompt:
Configuring your graphical environment
Managing Files
Names
Some legal filenames
Wildcards
Some usefull commands to handle files
Linking files
How Unix thinks about files and directories
Hard and soft links
The ln command
Printing
Print Services
Formatting
Command line printing
Printing from within an application
Troubleshooting
I printed the wrong file
My print hasn't come out
Redirecting I/O
Standard Input and Standard Output
The "<", ">" and "|" operators
The > > operator
Filters
Disk Management
Your homedirectory
Don't live like a bachelor
Making space
Process Management
Introduction
Running Commands in the Background
Checking processes
The ps command
The top tool
The uptime command
The xload command
The ptree or pstree command
Canceling Processes
Processes running in the foreground
Canceling one or more processes with kill
Timing
How long does it take
Why does it take so long?
Scheduling jobs
Introduction
The sleep command
The at command
Cron and crontab
Fundamental Backup Techniques
Introduction
Preparing your data
Moving your data to a backup device
Making a copy on a floppy disk
Making a copy with a CD writer
Backing up data using a tape device
Unix Communication and Networking
WWW
Moving files between hosts
FTP programs
Remote copy programs
Remote login programs
Insecure programs
Secure Shell
Mail
News (Usenet)
Some networking tools
The ifconfig command
The ping, host and traceroute commands
Miscellaneous communications
The write command
The talk command
I don't want to be disturbed!
Chatting
Shell Features
Common features
Differing features
Where to go from here?
Useful Books
General Unix
Editors
Shells
X Windows
System Specific References
Useful sites
General
AIX
HP/UX
Irix
Linux
Solaris
Exercises
Exploration tour
Connecting and disconnecting
X
The filesystem
You and the others
Files and directories
Redirecting input and output
Making space
Documentation
Exam excerpts
Glossary