A Practical Guide to Linux Commands, Editors, and Shell Programming
Mark G. Sobell
- 出版商: Prentice Hall
- 出版日期: 2005-07-11
- 售價: $1,519
- 語言: 英文
- 頁數: 1008
- 裝訂: Paperback
- ISBN: 0131478230
- ISBN-13: 9780131478237
-
相關分類:
Linux、Command Line
已絕版
買這商品的人也買了...
-
$970Introduction to Algorithms, 2/e
-
$600$588 -
$590$466 -
$560$504 -
$780$616 -
$990$782 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 3/e(IE) (美國版ISBN:1558606041)
-
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$507 -
$820$697 -
$750$638 -
$680$646 -
$550$495 -
$490$382 -
$580$458 -
$880$581 -
$750$585 -
$550$468 -
$580$493 -
$650$507 -
$890$757 -
$780$741 -
$650$507 -
$550$468 -
$600$480
相關主題
商品描述
Description:
The essential reference for core commands that Linux users need daily, along with superior tutorial on shell programming and much moreSystem administrators, software developers, quality assurance engineers and others working on a Linux system need to work from the command line in order to be effective. Linux is famous for its huge number of command line utility programs, and the programs themselves are famous for their large numbers of options, switches, and configuration files. But the truth is that users will only use a limited (but still significant) number of these utilities on a recurring basis, and then only with a subset of the most important and useful options, switches and configuration files. This book cuts through all the noise and shows them which utilities are most useful, and which options most important. And it contains examples, lot's and lot's of examples. This is not just a reprint of the man pages.
And Linux is also famous for its "programmability." Utilities are designed, by default, to work wtih other utilities within shell programs as a way of automating system tasks. This book contains a superb introduction to Linux shell programming. And since shell programmers need to write their programs in text editors, this book covers the two most popular ones: vi and emacs.
Table of Contents:
Preface.
1. Welcome to Linux.
The GNU-Linux Connection
The Heritage of Linux: UNIX
What Is So Good About Linux?
Overview of Linux
Additional Features of Linux
Chapter Summary
Exercises
I. THE LINUX OPERATING SYSTEM.
2. Getting Started.
Conventions Used in This Book
Logging In
Working with the Shell
Curbing Your Power: Superuser Access
Getting the Facts: Where to Find Documentation
More About Logging In
Chapter Summary
Exercises
Advanced Exercises
3. Command Line Utilities.
Special Characters
Basic Utilities
Working with Files
| (Pipe): Communicates Between Processes
Four More Utilities
Compressing and Archiving Files
Locating Commands
Obtaining User and System Information
Communicating with Other Users
Chapter Summary
Exercises
Advanced Exercises
4. The Linux Filesystem.
The Hierarchical Filesystem
Directory and Ordinary Files
Working with Directories
Access Permissions
Links
Chapter Summary
Exercises
Advanced Exercises
5. The Shell.
The Command Line
Standard Input and Standard Output
Running a Program in the Background
Filename Generation/Pathname Expansion
Builtins
Chapter Summary
Exercises
Advanced Exercises
II. THE EDITORS.
6. The vim Editor.
History
Tutorial: Creating and Editing a File with vim
The compatible Parameter
Introduction to vim Features
Command Mode: Moving the Cursor
Input Mode
Command Mode: Deleting and Changing Text
Searching and Substituting
Miscellaneous Commands
Yank, Put, and Delete Commands
Reading and Writing Files
Setting Parameters
Advanced Editing Techniques
Units of Measure
Chapter Summary
Exercises
Advanced Exercises
7. The emacs Editor.
History
Tutorial: Getting Started with emacs
Basic Editing Commands
Online Help
Advanced Editing
Language-Sensitive Editing
Customizing emacs
More Information
Chapter Summary
Exercises
Advanced Exercises
III. THE SHELLS.
8. The Bourne Again Shell.
Background
Shell Basics
Parameters and Variables
Processes
History
Aliases
Functions
Controlling bash Features and Options
Processing the Command Line
Chapter Summary
Exercises
Advanced Exercises
9. The TC Shell.
Shell Scripts
Entering and Leaving the TC Shell
Features Common to the Bourne Again and TC Shells
Redirecting Standard Error
Working with the Command Line
Variables
Control Structures
Builtins
Chapter Summary
Exercises
Advanced Exercises
IV. PROGRAMMING TOOLS.
10. Programming Tools.
Programming in C
Using Shared Libraries
make: Keeps a Set of Programs Current
Debugging C Programs
Threads
System Calls
Source Code Management
Chapter Summary
Exercises
Advanced Exercises
11. Programming the Bourne Again Shell.
Control Structures
File Descriptors
Parameters and Variables
Builtin Commands
Expressions
Shell Programs
Chapter Summary
Exercises
Advanced Exercises
12. The gawk Pattern Processing Language.
Syntax
Arguments
Options
Notes
Language Basics
Examples
Advanced gawk Programming
Error Messages
Chapter Summary
Exercises
Advanced Exercises
13. The sed Editor.
Syntax
Arguments
Options
Editor Basics
Examples
Chapter Summary
Exercises
Part V: Command Reference
Standard Multiplicative Suffixes
Common Options
The sample Utility
sample: Very brief description of what the utility does
aspell: Checks a file for spelling errors
at: Executes commands at a specified time
bzip2: Compresses or decompresses files
cal: Displays a calendar
cat: Joins and displays files
cd: Changes to another working directory
chgrp: Changes the group associated with a file
chmod: Changes the access mode (permissions) of a file
chown: Changes the owner of a file and/or the group the file is associated with
cmp: Compares two files
comm: Compares sorted files
configure: Configures source code automatically
cp: Copies files
cpio: Creates an archive or restores files from an archive
crontab: Maintains crontab files
cut: Selects characters or fields from input lines
date: Displays or sets the system time and date
dd: Converts and copies a file
df: Displays disk space usage
diff: Displays the differences between two files
du: Displays information on disk usage by file
echo: Displays a message
expr: Evaluates an expression
file: Displays the classification of a file
find: Finds files based on criteria
finger: Displays information about users
fmt: Formats text very simply
fsck: Checks and repairs a filesystem
ftp: Transfers files over a network
gcc: Compiles C and C++ programs
grep: Searches for a pattern in files
gzip: Compresses or decompresses files
head: Displays the beginning of a file
kill: Terminates a process by PID
killall: Terminates a process by name
less: Displays text files, one screen at a time
ln: Makes a link to a file
lpr: Sends files to printers
ls: Displays information about one or more files
make: Keeps a set of programs current
man: Displays documentation for commands
mkdir: Creates a directory
mkfs: Creates a filesystem on a device
Mtools: Uses DOS-style commands on files and directories
mv: Renames or moves a file
nice: Changes the priority of a command
nohup: Runs a command that keeps running after you log out
od: Dumps the contents of a file
paste: Joins corresponding lines from files
pr: Paginates files for printing
ps: Displays process status
rcp: Copies one or more files to or from a remote system
rlogin: Logs in on a remote system
rm: Removes a file (deletes a link)
rmdir:Removes a directory
rsh: Executes commands on a remote system
scp: Securely copies one or more files to or from a remote system
sleep: Creates a process that sleeps for a specified interval
sort: Sorts and/or merges files
split: Divides a file in into sections
ssh: Securely executes commands on a remote system
strings: Displays strings of printable characters
stty: Displays or sets terminal parameters
tail: Displays the last part (tail) of a file
tar: Stores or retrieves files to/from an archive file
tee: Copies standard input to standard output and one or more files
telnet: Connects to a remote system over a network
test: Evaluates an expression
top: Dynamically displays process status
touch: Changes a file's access and/or modification time
tr: Replaces specified characters
tty: Displays the terminal pathname
tune2fs: Changes parameters on an ext2 or ext3 filesystem
umask: Establishes the file-creation permissions mask
uniq: Displays unique lines
w: Displays information about system users
wc: Displays the number of lines, words, and bytes
which: Shows where in PATH a command is located
who: Displays information about logged-in users
xargs: Converts standard input into command lines
VI. APPENDIXES.
Appendix A: Regular Expressions.
Characters
Delimiters
Simple Strings
Special Characters
Rules
Bracketing Expressions
The Replacement String
Extended Regular Expressions
Appendix Summary
Appendix B: Help.
Solving a Problem
Finding Linux-Related Information
Specifying a Terminal
Appendix C: Keeping the System Up-to-Date.
yum: Updates and Installs Packages
Apt: An Alternative to yum
BitTorrent
Glossary.
Index.