| Chapter
7: Advanced Directory and File Management |
|
| 7.1 |
Advanced Directory and
File Management Using the Command Line
| 7.1.1 |
Copy
(cp) Old File / New File
Copying a File Within a Directory
Copy (cp) What / Where
Copying Files to Another Directory
Copying a File using the -i Interactive Option
Copying Files |
| 7.1.2 |
Copying
a Directory Within the Same Directory
Copying a Directory to Another Directory
Copying Directories |
| 7.1.3 |
Move
(mv) Old File Name / New File Name
Renaming a File in the Current Directory
Move (mv) What to Where
Moving a File to Another Directory
Renaming and Moving Files |
| 7.1.4 |
Move
Old Name to New Name
Renaming within the Current Directory
Renaming in a Non-Current Directory
Move What to Where
Moving a Directory to another Directory
Renaming and Moving Directories |
| 7.1.5 |
Input,
CPU, and Output
Input / Output
Redirecting Standard Input of a File to a Command
Redirecting Standard Output from a Command to a File
Redirecting Standard Error to a File
Command Input / Output Redirection Summary
Input / Output Redirection |
| 7.1.6 |
Command
piping
Command Piping Examples
Command Piping |
|
|
| 7.2 |
Advanced Directory and
File Management Using File
Manager
| 7.2.1 |
No
Graphic |
| 7.2.2 |
File
Manager / File Options
File Manager / Selected Options |
| 7.2.3 |
View
Menu Options
Set View Options
Tree Display |
|
|
|
|
|
| Chapter
8: File and User Information Utilities |
|
| 8.1 |
File Systems Overview
| 8.1.1 |
Characteristics
of Logical Partions |
|
|
| 8.2 |
File Processing
Commands
| 8.2.1 |
find
Command Syntax
Path Options for the Find Command
Search Expressions
Action Options
Using the Find Command
Finding Files |
| 8.2.2 |
The
grep command
Using the grep Command
Searching for Strings |
| 8.2.3 |
Finding
Files Using the File Manager |
| 8.2.4 |
Sort
Command Options
Using the Basic sort Command
Sorting on Different Fields Within a File
Using the sort Command |
|
|
| 8.3 |
Identifying Users
| 8.3.1 |
Using
the who Command |
| 8.3.2 |
Switching
users with the su Command
Identifying Users |
|
|
|
|
|
| Chapter
9: Using Text Editors |
|
| 9.1 |
The vi Editor
| 9.1.1 |
Visual
Editor |
| 9.1.2 |
Mode
Characteristics in vi
Moving Between vi Modes 2-6 |
| 9.1.3 |
Opening
Files With vi |
| 9.1.4 |
Append,
Insert, Open Commands |
| 9.1.5 |
No
Graphic |
| 9.1.6 |
Basic
Cursor Positioning Commands |
| 9.1.7 |
Basic
Text
Deletion Commands
Undo, Repeat and Change Commands
Basic Copy and Paste Commands |
| 9.1.8 |
Edit
Session Customizing Commands
Basic Editing / Search / Replace Commands |
|
|
| 9.2 |
Using the CDE Text
Editor
| 9.2.1 |
The
Text Note Subpanel 1-2 |
| 9.2.2 |
Using
File Options |
| 9.2.3 |
Text
Editor - The Edit Menu
Text Editor - Find/Change
Search Item Not Found
Sun Keyboard Editing Keys |
| 9.2.4 |
Replacing
Text 1-2 |
| 9.2.5 |
Format
Menu Options 1-2 |
| 9.2.6 |
Text
Editor Options 1-2 |
|
|
|
|
|
| Chapter
10: File Security |
|
| 10.1 |
Security Overview
|
|
| 10.2 |
File System
Permissions
| 10.2.1 |
Detailed
Information from the ls -l Command
Directory Information
Displaying File System Permissions |
| 10.2.2 |
Permission
Categories |
| 10.2.3 |
Permissions
for the .profile and mkdir Files
File and Directory Permissions 2-3 |
| 10.2.4 |
Displaying
the User Identifier (UID) and Group Identifier (GID)
System Process Access Flowchart
User Attempting to view (cat) a File
Default File and Directory Permissions
Access Permissions |
|
|
| 10.3 |
Changing Permissions
From the Command Line
| 10.3.1 |
Changing
Permissions |
| 10.3.2 |
Setting
Permissions Using Symbolic Mode
Changing Permission With Symbolic Mode
Changing Permission (Symbolic) |
| 10.3.3 |
Octal
Mode - User Permission
Octal Values
Combined Octal Mode Values and Permissions
Changing Permission With Octal (Absolute) Mode
Changing Permission (Octal) 5-6 |
|
|
| 10.4 |
Changing Permissions
with File Manager
| 10.4.1 |
Properties
from the Selected Menu
Properties by Right Clicking
The Properties Window |
|
|
|
|
|
| Chapter
11: Printing |
|
| 11.1 |
The UNIX Printing
Environment
| 11.1.1 |
UNIX
Printing Environment Components 1-2 |
| 11.1.2 |
The
Print Request Process |
|
|
| 11.2 |
Command Line Printing
| 11.2.1 |
Print
Spooler Options With lp
Using the lp Command to Print
Using the lp Command |
|
|
| 11.3 |
Managing Printer
Queues
| 11.3.1 |
Command
Format
Print Queue Options with lpstat
Using lpstat to Check Print Queue Status |
| 11.3.2 |
Canceling
a Print Request
Using lpstat and cancel |
|
|
| 11.4 |
Using CDE Print
Manager
| 11.4.1 |
Printer
Jobs
Outstanding Print Requests |
| 11.4.2 |
Viewing
Printer Properties
Setting Printer Job Options |
| 11.4.3 |
Printing
From the File Manager
Displaying the Banner Page Title
Canceling a Print Request |
|
|
|
|
|
| Chapter
12: Backing Up and Restoring |
|
| 12.1 |
Backup Strategies
| 12.1.1 |
Causes
of Data Loss and Corruption |
| 12.1.2 |
Comparison
of Backup Methods
Backup Methods |
| 12.1.3 |
Restore
Capabilities |
|
|
| 12.2 |
Backup Media
| 12.2.1 |
No
Graphic |
| 12.2.2 |
Backup
Media
Comparison of Backup Media |
|
|
| 12.3 |
Backing Up,
Compressing, and Restoring Files
| 12.3.1 |
Command
Format Example
Tar Command Function Letters
Using Tar to Create Archives
Archiving Files with tar |
| 12.3.2 |
Compressing
Files |
| 12.3.3 |
Uncompressing
Files
Compressing and Uncompressing |
| 12.3.4 |
Backing
Up and Compressing the Home Directory 1-4 |
| 12.3.5 |
Restoring
Files 1-5
Extracting Files with tar |
|
|
| 12.4 |
Combining Backup and
Compression
| 12.4.1 |
jar
Command Options
Archiving and Compressing Files with jar
Using the jar Command |
|
|
| 12.5 |
GUI Backup Tools
| 12.5.1 |
Features
of Dedicated Backup Applications |
| 12.5.2 |
Archive
Menu Option
Archive Window
Archive Unpack
Compress File Menu Option
Compress Window
Uncompressing a File |
|
|
|
|
|
| Chapter
13: System Processes and Memory Management |
|
| 13.1 |
UNIX System Processes
| 13.1.1 |
Kernel
Allocation for Processes |
| 13.1.2 |
Types
of UNIX Processes |
|
|
| 13.2 |
Displaying Processes
| 13.2.1 |
ps
Command Options
Displaying a Listing of Your Processes with ps
Displaying a Full Listing of All Processes With ps -ef
Column Headings for the ps -ef Command |
| 13.2.2 |
Piping
ps Output to grep and pgrep
Displaying System Processes |
|
|
| 13.3 |
Terminating Processes
| 13.3.1 |
Parent
and Child Process Relationships |
| 13.3.2 |
Finding
and Terminating Processes for a User
Terminating a Process with pkill
Terminating Processes |
|
|
| 13.4 |
Memory Management
|
|
|
|
|
| Chapter
14: Basic Features of the Korn and C Shells |
|
| 14.1 |
Review of the Shell
|
|
| 14.2 |
Korn Shell Features
| 14.2.1 |
Reasons
to Use Aliases
Creating Aliases
Displaying All Aliases Set for the Current session
Unsetting a Previously Defined Alias
Using Korn Shell Aliases |
| 14.2.2 |
Displaying
History |
| 14.2.3 |
Using
the r (Repeat) Command 1-2 |
| 14.2.4 |
Editing
the Command Line
Command Editing with Korn Shell |
| 14.2.5 |
Customizing
your Prompt
Customizing a Korn Shell Prompt |
|
|