Paul Tibbitts - Introduction to Unix/Linux
Unix Essentials for Users and Administrators
The Design of Unix
What is Unix?
Unix: OS or Religion
A Brief History of Unix
Flavors of Unix
The User Interface
The Kernel
System Calls
Applications
Shells
Utilities
File System
Device-Independent IO
Basic Operations
Logging On
Character Mode
Logging Out
User Names
The Root User
Command Syntax
Online Manual
Basic Unix Commands
Non-essential Unix Commands
File System Basics
The Unix File System
Moving around
Standard Directories
Absolute and Relative Path Names
File Names
File Types
Directory Listings
Wildcards
Filename Wild Cards
Matching One Character
Matching Many Characters
Shortcut Characters
The Shell and Wildcards
Wildcard Gotchas
Wildcards and
ls
How the shell Expands Wildcards
Horrendous Final Example
File Permissions
Viewing Permissions
About Directories
read Permission
write Permission
execute Permission
Changing Permissions
Relative chmod
Absolute chmod
Default Permissions
Working with Files
Why Create Directories?
Creating and Removing Directories
Viewing Files
Determining File Type
Copying Files
Copying and permissions
Recursive copying
Moving or Renaming Files
That pesky slash
Deleting Files
Why Use Links
Symbolic Links
Korn Shell I/O Redirection
Korn Shell Redirection
Redirecting STDOUT
Using noclobber
Redirecting STDERR
Using /dev/null
Redirecting STDIN
Using Pipes
Using
tee
Redirection Examples
C Shell I/O Redirection
C Shell Redirection
Redirecting STDOUT
Redirecting STDERR
Using noclobber
Using /dev/null
Redirecting STDIN
Using Pipes
Using
tee
Redirection Examples
Executing Programs
Listing Processes
Killing Processes
Listing Available Signals
Foreground and Background Processes
Job Control
Using
find
find
Syntax
Finding by Name
Finding by Type
Combining Tests
Finding by Size
Finding by User or Group
Finding by Timestamps
find
and
xargs
Using
-i
with
xargs
find
and Symbolic Links
Other
find
Options
Filters and Other Useful Commands
About Filters
head
and
tail
grep
Regular Expressions
sort
Printing Columns
tr
Other Filters
diff
The
vi
Editor
About the
vi
Editor
vi
Overview
vi
Commands
Navigating
Adding Text
Deleting Text
Replacing Text
Other Commands
Cutting and Pasting
Copying and Pasting
vi
Mode and
ex
Mode
Line Ranges
Search and Replace
Deleting by Line Range
Saving Exiting and Abandoning
Customizing
vi
Advanced
vi
Features
Other Unix Editors
Customizing Your Enviroment
Bourne and C Shells
Korn Shell
Other Shells
What Shell Am I In?
Shell Comparison
Command History
Setting and Using Variables
Aliases
Types of Commands
Search Path
Fixing Backspace
Setting the Prompt
Setting TERM
Shell Scripts
Passing Parameters
Startup Scripts
Networking and Communications
Real-time Communications
Mail
Using Telnet for Remote Login
ftp
ftp
Tips
File Archives
Checking Space
Backup Strategies
Using
tar
Creating
tar
Archives
Viewing
tar
archives
Restoring with
tar
Absolute and Relative Paths
tar
and Symbolic Links
Saving Space
Using
gzip
Combining
tar
and
gzip
Working with Windows
X Windows
X Windows Overview
X Window Architecture
X Servers
X Clients
Window Managers
X Startup Sequence
About X Resources
Customizing X
Running Remote X Clients
System Admin for Users
/etc/passwd
Groups
/etc/group
Adding /usr/sbin to PATH
File Systems
The
mount
Command
su
netstat
nslookup
Hints, Tricks, and Pitfalls
Unix Calculator
Displaying a Banner
Finding the Largest File in a Directory
Printing a Directory Tree
A Reminder Service
A Trashy Idea
Aliases for
ls
Unix Self-Help Program
When
vi
Goes Bad
Finding Previous Commands
Back to Training Home