Table of Contents
- 1. Basic UNIX System Concepts
- Users and Groups
- File Basics
- Processes
- A Short Introduction to the Command Line
- cd: Change
Directory
- Some Environment Variables and the echo Command
- cat: Print the Contents of One or More Files to the Screen
- less: a Pager
- ls: Listing Files
- Useful Keyboard Shortcuts
- 2. Disks and Partitions
- Structure of a Hard Disk
- Sectors
- Partitions
- Defining the
Structure of Your Disk
- Conventions for
Naming Disks and Partitions
- 3. Introduction to the Command Line
- File-Handling Utilities
- mkdir, touch: Creating Empty Directories and Files
- rm: Deleting Files or Directories
- mv: Moving or Renaming Files
- cp: Copying Files and Directories
- Handling File Attributes
- chown, chgrp: Change the Owner and Group of One or More
Files
- chmod: Changing Permissions on Files and Directories
- Shell Globbing Patterns
- Redirections and Pipes
- A Little More About Processes
- Redirections
- Pipes
- Command-Line Completion
- Example
- Other Completion Methods
- Starting and Handling Background
Processes: Job Control
- A Final Word
- 4. Text Editing: Emacs and VI
- Emacs
- Short presentation
- Getting started
- Handling buffers
- Copy, cut, paste, search
- Quit Emacs
- Vi: the ancestor
- Insert mode, command mode, ex mode...
- Handling buffers
- Editing text and move commands
- Cut, copy, paste
- Quit Vi
- A last word...
- 5. Command-Line Utilities
- File Operations and Filtering
- cat, tail, head, tee: File Printing
Commands
- grep: Locate Strings in Files
- wc: Calculation Elements in Files
- sort: Sorting File Content
- find: Find Files According to Certain
Criteria
- Commands Startup Scheduling
- crontab: reporting or editing your crontab file
- at: schedule a command, but only once
- Archiving and Data Compression
- tar: Tape ARchiver
- bzip2 and gzip: Data Compression Programs
- Many, many more...
- 6. Process Control
- More About Processes
- The Process Tree
- Signals
- Information on Processes: ps and
pstree
- ps
- pstree
- Sending Signals to Processes: kill,
killall and top
- kill, killall
- Mixing ps and kill: top
- Setting Priority to Processes: nice,
renice
- renice
- nice