A Practical Guide to UNIX for Mac OS X Users
暫譯: Mac OS X 使用者的 UNIX 實用指南
Mark G. Sobell, Peter Seebach
- 出版商: Prentice Hall
- 出版日期: 2005-12-31
- 售價: $2,160
- 貴賓價: 9.5 折 $2,052
- 語言: 英文
- 頁數: 1056
- 裝訂: Paperback
- ISBN: 0131863339
- ISBN-13: 9780131863330
-
相關分類:
MAC OS 蘋果電腦
已過版
買這商品的人也買了...
-
$1,570$1,492 -
$580$458 -
$1,200$1,176 -
$690$587 -
$680$537 -
$880$695 -
$890$757 -
$780$663 -
$650$507 -
$550$468 -
$980$774 -
$650$507 -
$450$351 -
$750$593 -
$750$593 -
$680$578 -
$450$356 -
$780$616 -
$720$569 -
$580$493 -
$880$695 -
$620$409 -
$290$226 -
$600$480 -
$1,180$1,003
相關主題
商品描述
Table of Contents
Preface xxvii
Chapter 1: Welcome to Linux 1
The GNU-Linux Connection 2
The Heritage of Linux: UNIX 5
What Is So Good About Linux? 6
Overview of Linux 10
Additional Features of Linux 15
Chapter Summary 16
Exercises 17
Part I: The Linux Operating System 19
Chapter 2: Getting Started 21
Conventions Used in This Book 22
Logging In 24
Working with the Shell 25
Curbing Your Power: Superuser Access 28
Getting the Facts: Where to Find Documentation 29
More About Logging In 35
Chapter Summary 38
Exercises 39
Advanced Exercises 39
Chapter 3: Command Line Utilities 41
Special Characters 42
Basic Utilities 43
Working with Files 45
| (Pipe): Communicates Between Processes 52
Four More Utilities 53
Compressing and Archiving Files 56
Locating Commands 61
Obtaining User and System Information 63
Communicating with Other Users 67
Email 69
Chapter Summary 69
Exercises 72
Advanced Exercises 73
Chapter 4: The Linux Filesystem 75
The Hierarchical Filesystem 76
Directory and Ordinary Files 77
Working with Directories 88
Access Permissions 91
Links 96
Chapter Summary 102
Exercises 103
Advanced Exercises 105
Chapter 5: The Shell 107
The Command Line 108
Standard Input and Standard Output 113
Running a Program in the Background 125
Filename Generation/Pathname Expansion 127
Builtins 132
Chapter Summary 133
Exercises 134
Advanced Exercises 136
Part II: The Editors 137
Chapter 6: The vim Editor 139
History 140
Tutorial: Creating and Editing a File with vim 141
The compatible Parameter 148
Introduction to vim Features 148
Command Mode: Moving the Cursor 154
Input Mode 158
Command Mode: Deleting and Changing Text 160
Searching and Substituting 164
Miscellaneous Commands 170
Yank, Put, and Delete Commands 171
Reading and Writing Files 174
Setting Parameters 175
Advanced Editing Techniques 180
Units of Measure 184
Chapter Summary 188
Exercises 193
Advanced Exercises 194
Chapter 7: The emacs Editor 195
History 196
Tutorial: Getting Started with emacs 198
Basic Editing Commands 204
Online Help 209
Advanced Editing 212
Language-Sensitive Editing 225
Customizing emacs 235
More Information 240
Chapter Summary 241
Exercises 248
Advanced Exercises 250
Part III: The Shells 253
Chapter 8: The Bourne Again Shell 255
Background 256
Shell Basics 257
Parameters and Variables 277
Processes 292
History 295
Aliases 312
Functions 315
Controlling bash Features and Options 318
Processing the Command Line 322
Chapter Summary 332
Exercises 334
Advanced Exercises 336
Chapter 9: The TC Shell 339
Shell Scripts 340
Entering and Leaving the TC Shell 341
Features Common to the Bourne Again and TC Shells 343
Redirecting Standard Error 349
Working with the Command Line 350
Variables 355
Control Structures 368
Builtins 377
Chapter Summary 381
Exercises 382
Advanced Exercises 384
Part IV: Programming Tools 385
Chapter 10: Programming Tools 387
Programming in C 388
Using Shared Libraries 396
make: Keeps a Set of Programs Current 399
Debugging C Programs 407
Threads 417
System Calls 417
Source Code Management 420
Chapter Summary 430
Exercises 431
Advanced Exercises 432
Chapter 11: Programming the Bourne Again Shell 435
Control Structures 436
File Descriptors 470
Parameters and Variables 474
Builtin Commands 487
Expressions 501
Shell Programs 510
Chapter Summary 520
Exercises 522
Advanced Exercises 524
Chapter 12: The gawk Pattern Processing Language 527
Syntax 528
Arguments 528
Options 529
Notes 529
Language Basics 530
Examples 537
Advanced gawk Programming 554
Error Messages 559
Chapter Summary 560
Exercises 561
Advanced Exercises 561
Chapter 13: The sed Editor 563
Syntax 564
Arguments 564
Options 564
Editor Basics 565
Examples 568
Chapter Summary 578
Exercises 579
Part V: Command Reference 581
Standard Multiplicative Suffixes 586
Common Options 587
The sample Utility 587
sample: Very brief description of what the utility does 588
aspell: Checks a file for spelling errors 589
at: Executes commands at a specified time 593
bzip2: Compresses or decompresses files 596
cal: Displays a calendar 598
cat: Joins and displays files 599
cd: Changes to another working directory 601
chgrp: Changes the group associated with a file 603
chmod: Changes the access mode (permissions) of a file 604
chown: Changes the owner of a file and/or the group the file is associated with 608
cmp: Compares two files 610
comm: Compares sorted files 612
configure: Configures source code automatically 614
cp: Copies files 616
cpio: Creates an archive or restores files from an archive 619
crontab: Maintains crontab files 624
cut: Selects characters or fields from input lines 627
date: Displays or sets the system time and date 630
dd: Converts and copies a file 633
df: Displays disk space usage 636
diff: Displays the differences between two files 638
du: Displays information on disk usage by file 644
echo: Displays a message 647
expr: Evaluates an expression 649
file: Displays the classification of a file 653
find: Finds files based on criteria 655
finger: Displays information about users 661
fmt: Formats text very simply 664
fsck: Checks and repairs a filesystem 666
ftp: Transfers files over a network 671
gcc: Compiles C and C++ programs 678
grep: Searches for a pattern in files 683
gzip: Compresses or decompresses files 688
head: Displays the beginning of a file 691
kill: Terminates a process by PID 693
killall: Terminates a process by name 695
less: Displays text files, one screen at a time 697
ln: Makes a link to a file 702
lpr: Sends files to printers 705
ls: Displays information about one or more files 708
make: Keeps a set of programs current 715
man: Displays documentation for commands 721
mkdir: Creates a directory 724
mkfs: Creates a filesystem on a device 725
Mtools: Uses DOS-style commands on files and directories 728
mv: Renames or moves a file 732
nice: Changes the priority of a command 734
nohup: Runs a command that keeps running after you log out 736
od: Dumps the contents of a file 737
paste: Joins corresponding lines from files 742
pr: Paginates files for printing 744
ps: Displays process status 746
rcp: Copies one or more files to or from a remote system 750
rlogin: Logs in on a remote system 752
rm: Removes a file (deletes a link) 753
rmdir: Removes a directory 755
rsh: Executes commands on a remote system 756
scp: Securely copies one or more files to or from a remote system 758
sleep: Creates a process that sleeps for a specified interval 760
sort: Sorts and/or merges files 762
split: Divides a file in into sections 771
ssh: Securely executes commands on a remote system 773
strings: Displays strings of printable characters 777
stty: Displays or sets terminal parameters 778
tail: Displays the last part (tail) of a file 783
tar: Stores or retrieves files to/from an archive file 786
tee: Copies standard input to standard output and one or more files 791
telnet: Connects to a remote system over a network 792
test: Evaluates an expression 794
top: Dynamically displays process status 798
touch: Changes a file's access and/or modification time 801
tr: Replaces specified characters 804
tty: Displays the terminal pathname 807
tune2fs: Changes parameters on an ext2 or ext3 filesystem 808
umask: Establishes the file-creation permissions mask 810
uniq: Displays unique lines 812
w: Displays information about system users 814
wc: Displays the number of lines, words, and bytes 816
which: Shows where in PATH a command is located 817
who: Displays information about logged-in users 819
xargs: Converts standard input into command lines 821
Part VI: Appendixes 825
Appendix A: Regular Expressions 827
Characters 828
Delimiters 828
Simple Strings 828
Special Characters 828
Rules 831
Bracketing Expressions 832
The Replacement String 833
Extended Regular Expressions 834
Appendix Summary 835
Appendix B: Help 837
Solving a Problem 838
Finding Linux-Related Information 839
Specifying a Terminal 844
Appendix C: Keeping the System Up-to-Date 847
yum: Updates and Installs Packages 848
Apt: An Alternative to yum 850
BitTorrent 855
Glossary 859
Index 913
Features
Best selling author Mark Sobell brings his incredible talents to the Mac community and shows OS X users how to harness the power of UNIX
Over 250K copies of Sobell's books have shipped in the U.S. alone! Includes Sobell's famous 300-page command reference section customized and enhanced for OS X UNIX commands Hundreds of practical exercises allow readers to learn by doing
商品描述(中文翻譯)
目錄
前言 xxvii
第一章:歡迎來到 Linux 1
GNU-Linux 連結 2
Linux 的傳承:UNIX 5
Linux 有什麼好處? 6
Linux 概述 10
Linux 的其他特性 15
章節摘要 16
練習 17
第一部分:Linux 作業系統 19
第二章:入門 21
本書使用的慣例 22
登入 24
使用 Shell 25
限制你的權限:超級使用者訪問 28
獲取事實:在哪裡找到文檔 29
更多登入資訊 35
章節摘要 38
練習 39
進階練習 39
第三章:命令行工具 41
特殊字符 42
基本工具 43
處理檔案 45
| (管道):進程間的通信 52
四個額外的工具 53
壓縮和歸檔檔案 56
定位命令 61
獲取用戶和系統信息 63
與其他用戶通信 67
電子郵件 69
章節摘要 69
練習 72
進階練習 73
第四章:Linux 檔案系統 75
層次檔案系統 76
目錄和普通檔案 77
處理目錄 88
訪問權限 91
連結 96
章節摘要 102
練習 103
進階練習 105
第五章:Shell 107
命令行 108
標準輸入和標準輸出 113
在背景中運行程序 125
檔名生成/路徑擴展 127
內建命令 132
章節摘要 133
練習 134
進階練習 136
第二部分:編輯器 137
第六章:vim 編輯器 139
歷史 140
教程:使用 vim 創建和編輯檔案 141
相容參數 148
vim 特性介紹 148
命令模式:移動光標 154
輸入模式 158
命令模式:刪除和更改文本 160
搜索和替換 164
雜項命令 170
複製、粘貼和刪除命令 171
讀取和寫入檔案 174
設置參數 175
進階編輯技術 180
計量單位 184
章節摘要 188
練習 193
進階練習 194
第七章:emacs 編輯器 195
歷史 196
教程:開始使用 emacs 198
基本編輯命令 204
在線幫助 209
進階編輯 212
語言敏感編輯 225
自定義 emacs 235
更多資訊 240
章節摘要 241
練習 248
進階練習 250
第三部分:Shell 253
第八章:Bourne Again Shell 255
背景 256
Shell 基礎 257
參數和變數 277
進程 292
歷史 295
別名 312
函數 315
控制 bash 特性和選項 318
處理命令行 322
章節摘要 332
練習 334
進階練習 336
第九章:TC Shell 339
Shell 腳本 340
進入和離開 TC Shell 341
Bourne Again 和 TC Shell 的共同特性 343
重定向標準錯誤 349
使用命令行 350
變數 355
控制結構 368
內建命令 377
章節摘要 381
練習 382
進階練習 384
第四部分:程式設計工具 385
第十章:程式設計工具 387
使用 C 語言編程 388
使用共享庫 396
make:保持一組程序的最新狀態 399
調試 C 程序 407
線程 417
系統調用 417
源代碼管理 420
章節摘要 430
練習 431
進階練習 432
第十一章:編程 Bourne Again Shell 435
控制結構 436
檔案描述符 470
參數和變數 474
內建命令 487
表達式 501
Shell 程序 510
章節摘要 520
練習 522
進階練習 524
第十二章:gawk 模式處理語言 527
語法 528
參數 528
選項 529
註釋 529
語言基礎 530
範例 537
進階 gawk 編程 554
錯誤信息 559
章節摘要 560
練習 561
進階練習 561
第十三章:sed 編輯器 563
語法 564
參數 564
選項 564
編輯器基礎 565
範例 568
章節摘要 578
練習 579
第五部分:命令參考 581
標準乘法後綴 586
常用選項 587
範例工具 587
範例:工具功能的簡要描述 588
aspell:檢查檔案中的拼寫錯誤 589
at:在指定時間執行命令 593
bzip2:壓縮或解壓縮檔案 596
cal:顯示日曆 598
cat:合併並顯示檔案 599
cd:切換到另一個工作目錄 601
chgrp:更改與檔案相關聯的群組 603
chmod:更改檔案的訪問模式(權限) 604
chown:更改檔案的擁有者和/或與檔案相關聯的群組 608
cmp:比較兩個檔案 610
comm:比較已排序的檔案 612
configure:自動配置源代碼 614
cp:複製檔案 616
cpio:創建一個