Table of Contents
- 1. Basic UNIX System Concepts
- 1. Users and Groups
- 2. File Basics
- 3. Processes
- 4. A Short Introduction to the Command
Line
- 4.1. cd: Change
Directory
- 4.2. Some Environment Variables and the echo
Command
- 4.3. cat: Print the Contents of One or More
Files to the Screen
- 4.4. less: a Pager
- 4.5. ls: Listing Files
- 4.6. Useful Keyboard Shortcuts
- 2. Disks and Partitions
- 1. Structure of a Hard
Disk
- 1.1. Sectors
- 1.2. Partitions
- 1.3. Defining the Structure
of Your Disk
- 2. Conventions for Naming
Disks and Partitions
- 3. Introduction to the Command Line
- 1. File-Handling Utilities
- 1.1. mkdir, touch: Creating Empty Directories and
Files
- 1.2. rm: Deleting Files or Directories
- 1.3. mv: Moving or Renaming Files
- 1.4. cp: Copying Files and Directories
- 2. Handling File Attributes
- 2.1. chown, chgrp: Change the Owner or Group of
One or More Files
- 2.2. chmod: Changing Permissions on Files and
Directories
- 3. Shell Globbing Patterns
- 4. Redirections and Pipes
- 4.1. A Little More About Processes
- 4.2. Redirections
- 4.3. Pipes
- 5. Command-Line Completion
- 5.1. Example
- 5.2. Other Completion Methods
- 6. Starting and Handling Background Processes:
Job Control
- 7. A Final Word
- 4. Text Editing: Emacs and VI
- 1. Emacs
- 1.1. Short Presentation
- 1.2. Getting Started
- 1.3. Handling buffers
- 1.4. Copy, Cut, Paste, Search
- 1.5. Quit emacs
- 2. Vi: the ancestor
- 2.1. Insert Mode, Command
Mode, ex Mode...
- 2.2. Handling Buffers
- 2.3. Editing Text and Move Commands
- 2.4. Cut, Copy, Paste
- 2.5. Quit Vi
- 3. A last word...
- 5. Command-Line Utilities
- 1. File Operations and Filtering
- 1.1. cat, tail, head, tee: File-Printing
Commands
- 1.2. grep: Locating Strings in Files
- 1.3. Regular Expressions and Filtering egrep
- 1.4. wc: Counting Elements
in Files
- 1.5. sort: Sorting File
Content
- 2. find: Finding Files According to
Certain Criteria
- 3. Scheduling of Commands
Startup
- 3.1. crontab: Reporting or Editing your
crontab File
- 3.2. at: Scheduling a command, but Only
Once
- 4. Archiving and Data Compression
- 4.1. tar: Tape ARchiver
- 4.2. bzip2 and gzip: Data Compression
Programs
- 5. Many, Many More...
- 6. Process Control
- 1. More About Processes
- 1.1. The Process Tree
- 1.2. Signals
- 2. Information on Processes: ps and
pstree
- 2.1. ps
- 2.2. pstree
- 3. Sending Signals to Processes: kill,
killall and top
- 3.1. kill, killall
- 3.2. Mixing ps and kill: top
- 4. Setting Priority to Processes: nice,
renice
- 4.1. renice
- 4.2. nice