devdaily home
|
apple
|
java
|
perl
|
unix
|
directory
Enter your search terms
Submit search form
web
devdaily.com
Up:
IntroToUnix
Previous:
IntroToUnix
Next:
Introduction
Contents
Introduction
Objective
Introduction
Goals of Unix - Level 1
UNIX - What Is It?
UNIX is multi-user
UNIX is portable and scalable
UNIX is multi-tasking
UNIX systems are Open
Other UNIX advantages
Important Concepts Necessary to Understanding UNIX
Hierarchical File System
Virtual Memory
UNIX Shells
Multi-user
Multiprocessing
The X-Window System
Acronyms
Getting Started
Objective
Typical Tasks a User Will Perform
Logging In and Getting to Work
The Standard Login Prompt
Logging In - Entering Your Username and Password
Exercise 2-1: Logging in to the classroom computer.
Message of The Day
Your Prompt
Where Are You Located?
What's In Your Directory?
Where did all these files come from?
Moving Around The System
Exercise 2-2: Using "pwd" and "cd" to move around the filesystem.
Who Else Is On The System?
What Is The Computer Doing?
Changing Your Password
Getting Help
Clearing the Display
Showing the Date and Time
Summary
"Getting Started" Exercises
The UNIX Environment
Objective
The UNIX Login Shell
Three Major Functions of the Login Shell
Different Login Shell Types (Bourne, Korn, C)
Choosing Your Login Shell
Changing Your Shell From The Command Line
The Shell as a "Command Interpreter"
Basic UNIX Command Syntax
Example 3-1: Basic UNIX Command Syntax
Command Line Expansion and Filename Metacharacters
Important metacharacters:
Example 3-2: Sample uses of filename metacharacters
Combining UNIX Commands
Character Streams, Standard Input, Output, and Error
Example 3-3: Redirection Examples
Standard Error Symbols
Redirecting the standard error is also best shown by example:
Creating Pipelines
Example 3-5: Simple pipelines.
An example of a more complex pipeline:
Your Terminal
The stty Command
Summary
"Unix Environment" Exercises
Project 1: Create Your Home Directory Structure
The Korn Shell
Objective
Introduction
Background
Your Prompt
Aliases
Example 4-1: Example aliases
ksh Variables
Built-In Shell Variables ( also called "Pre-Defined")
Other Shell Variables
Your Path
The whence Command
The set command
Your Login Files
/etc/profile
.profile
Example 4-2: Sample .profile file
Command History and Command Line Editing
Working with previously entered commands
Working with previously entered commands using Esc-k
Input/Output Redirection With The Korn Shell
Summary
"The Korn Shell" Exercises
The C Shell
Objective
Introduction
Background
Your Login Files
Example 5-1: A typical .cshrc file:
C Shell Variables
Pre-Defined Shell Variables
Important Pre-Defined Shell Variables
history
ignoreeof
noclobber
path
prompt
term
Environment Variables
DISPLAY
Displaying Variables
Your Search Path
Setting Your Search Path
Hashing and Hash Tables
Aliases
Other alias notes:
Command History and Command Line Editing
Displaying the History List
Enlarging/Reducing the Number of Items Stored in History
Re-using Existing Commands
Examples:
Input/Output Redirection With the C Shell
Summary
"The C Shell" Exercises
File Management
Objective
Rules For Naming Files
Example 6-1: Upper- and Lower-Case Characters
Filename Metacharacters
Metacharacter Meaning
Example 6-2: Metacharacter Examples
File-Oriented Commands
Displaying Your Location in the UNIX Filesystem
Moving Around The UNIX Filesystem
Exercise 6-1: Using "cd" and "pwd".
Example 6-3: Example of the "cd" command used with metacharacters.
Viewing Files
more
Getting Information About Files
Understanding File Information
Example:
Determining the File Type
Example:
Copying, Moving, and Deleting Files
Copying Files
Examples:
Removing Files and Directories
Examples:
Moving Files and Directories
Examples:
Information About Directories
Examples:
df
df -k
Changing File Parameters
chown
chgrp
chmod
Advanced File Commands
Examples:
grep
wc
Summary
"File Management" Exercises
Printing
Objective
The Printer Subsystem
Printer Queues
Printer Filters
SVR4 Printing Commands
SVR4 Printing Commands.
Printing a File (SVR4) - lp
Printing a file to the default printer
Printing a file to a printer named "laser"
Printing multiple files to a printer named "sales"
Viewing The Status of Your Print Request (SVR4) - lpstat
Important information you will generally want to know about your printer subsystem:
Viewing Print Status Information
Interpreting The Output
What does "scheduler is running" mean?
What does "laser accepting requests" mean?
What does "enabled" mean?
Viewing lpstat output when there are other users printing
Cancelling Print Requests (SVR4) - cancel
To cancel job "laser-102"
Cancelling Multiple Jobs
BSD Printing Commands
BSD Printing Commands
Printing Files (BSD) - lpr
Viewing the Status of Print Requests (BSD) - lpq
Cancelling Print Requests (BSD) - lprm
Summary
SVR4 Commands
BSD Commands
Printing Exercises
Processes and Job Control
Objective
What Is A Process?
Process ID's
Viewing Processes
The ps Command
"ps" Syntax
Basic ps Output
Full ps Output (your processes)
Full ps Output, Every Process
What Is All Of This Information?
Daemons (or demons)
Other User Processes
Your Processes
Killing Processes
The "kill" Command
"kill" Syntax
Example: Killing processes
Running Processes In The Background
Example: Running processes in the background.
Running one command in the background
Running multiple sequential commands in the background
Example: Running processes in the background - alternate method.
Summary
Processes and Job Control Exercises
Text Processing
Objective
Text Processing Commands
Text processing commands
The Concept of Regular Expressions
Regular Expressions
Regular Expression Examples
The grep Command
Printing Lines That Match a Simple Text Pattern
Printing Lines That Do Not Match the Pattern You Specify
Matching Multiple Words/Patterns Separated by a Blank
Matching Any of a Set of Characters
Matching a Range of Characters
Matching Multiple Character Ranges
Matching Characters at The Beginning/Ending of a Line
Matching Text Patterns In the Standard Input
The 'sort' Command
The "tr" Command
The "head" Command
Specifying the Number of Lines
The 'tail' Command
Default Usage
Specifying the Number of Lines
The "vi" Editor
Key Points to Remember about vi
The Three Modes of vi
Opening a File For Editing
Leaving Your vi Session
Entering Text With vi
Deleting Text
Copying Text
Cutting and Pasting
Changing Text
Searching for Text
Moving Through Your Document
Repeating Your Last Action
Undoing Your Last Action
Customizing vi with ":set" options
Customizing vi with the .exrc file
Text Processing Exercises
Working in a Network
Objective
Network-Related Commands
Unix Mail
Sending Mail
Viewing Your Mail
Writing to Another User's Terminal
The write Command
Holding an Interactive Conversation With Another User - talk
Getting Information About Other Users - finger
Who Is Logged Into the System - who
Logging in to Remote Computer Systems - telnet
File Transfer Between Machines - ftp
Summary
X-Windows
Objective
Technology and Terminology
The X "Display"
The X Server
The X Client
Window Managers
Introduction to Unix - Final Exam
Up:
IntroToUnix
Previous:
IntroToUnix
Next:
Introduction