دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 1
نویسندگان: Harley Hahn
سری:
ISBN (شابک) : 0073133612, 9780071283977
ناشر: McGraw-Hill Science/Engineering/Math
سال نشر: 2008
تعداد صفحات: 962
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 9 مگابایت
در صورت تبدیل فایل کتاب Harley Hahn's Guide to Unix and Linux به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب راهنمای هارلی هان برای یونیکس و لینوکس نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
راهنمای هارلی هان برای یونیکس و لینوکس یک متن مدرن و جامع برای هر کسی است که می خواهد نحوه استفاده از یونیکس یا لینوکس را بیاموزد. این کتاب به عنوان یک کتاب درسی ابتدایی یا متوسطه برای استفاده در کلاس و همچنین برای خوانندگانی که می خواهند خودشان آموزش دهند مناسب است. متن تمام مفاهیم اساسی و ابزارهایی را که کاربران یونیکس/لینوکس برای تسلط لازم دارند را پوشش میدهد: یونیکس در مقابل لینوکس، رابطهای کاربری گرافیکی، رابط خط فرمان، کتابچه راهنمای آنلاین، نحو، پوسته، ورودی/خروجی استاندارد و تغییر مسیر، لولهها و فیلترها، vi. سیستم فایل یونیکس و کنترل کار. هان با تأکید بر ایدههای اصلی و توضیح دقیق اصطلاحات ناآشنا، رویکردی کاملا خوانا برای آموزش یونیکس و لینوکس ارائه میکند. این کتاب از همان ابتدا خوانندگان را در سیستمهای یونیکس و لینوکس با فرض عدم دانش قبلی و ارائه مطالب به شیوهای منطقی و سرراست راهنمایی میکند. هان که نویسنده ای باتجربه است، به سبکی واضح، جذاب و دانشجوپسند می نویسد و در نتیجه متنی را می نویسد که خواندن آن هم آسان و هم سرگرم کننده است. آموزش انگیزشی، مانند "در یک نام چیست؟" جعبه ها و نکات برجسته پیشینه جالب و نکات مفیدی را در اختیار خوانندگان قرار می دهند. برای منابع بیشتر، خوانندگان می توانند به وب سایت نویسنده به نشانی www.mhhe.com/harleyhahn مراجعه کنند
Harley Hahn's Guide to Unix and Linux is a modern, comprehensive text for anyone who wants to learn how to use Unix or Linux. The book is suitable as a primary or secondary textbook for classroom use, as well as for readers who want to teach themselves. The text covers all the basic concepts and tools Unix/Linux users need to master: Unix vs Linux, GUIs, the command line interface, the online manual, syntax, the shell, standard I/O and redirection, pipes and filters, vi, the Unix file system, and job control.Hahn offers a thoroughly readable approach to teaching Unix & Linux by emphasizing core ideas and carefully explaining unfamiliar terminology. The book walks readers through Unix & Linux systems from the very beginning, assuming no prior knowledge and laying out material in a logical, straightforward manner. An experienced author, Hahn writes in a clear, engaging, and student-friendly style, resulting in a text that is both easy and entertaining to read. Motivating pedagogy, such as “What’s in a Name?” boxes and highlighted Hints provide readers with interesting background and helpful tips. For additional resources, readers can visit the author’s website at www.mhhe.com/harleyhahn
Tittle Table of Contents CHAPTER 1: Introduction to Unix Why Use Unix? The Unix Language Hints for Learning Unix People Who Don’t Know They Are Using Unix People Who Do Know They Are Using Unix Getting the Most from This Book What I Assume in This Book What I Do Not Assume in This Book How to Use This Book CHAPTER 2: What Is Unix? What is Linux? What Is an Operating System? What Is the Kernel? Unix = Kernel + Utilities “Unix” Used to Be a Specifi c Name “Unix” Is Now a Generic Name The Free Software Foundation Excerpts from the GNU Manifesto The GPL and Open Source Software Unix in the 1970s: From Bell Labs to Berkeley Unix in the 1980s: BSD and System V Unix in 1991: Waiting for Linux Distributions BSD Distributions What Type of Unix Should You Use? How Do You Get Linux or FreeBSD? What Is Unix? What Is Linux? CHAPTER 3: The Unix Connection Humans, Machines and Aliens In the Olden Days, Computers Were Expensive Host and Terminals Terminal Rooms and Terminal Servers The Console The Unix Connection Hosts Without Consoles The Client/Server Relationship What Happens When You Press a Key? Character Terminals and Graphics Terminals The Most Common Types of Terminals CHAPTER 4: Starting to Use Unix The System Administrator Userids and Passwords Logging In (Starting Work with Unix) What Happens After You Log In? Getting Down to Work: The Shell Prompt Logging Out (Stopping Work with Unix): logout, exit, login . Upper- and Lowercase A Sample Session with Unix Changing Your Password: passwd Choosing a Password Checking If Someone Has Been Using Your Unix Account: last Userids and Users The Superuser Userid: root Having Fun While Practicing Safe Computing CHAPTER 5: GUIs: Graphical User Interfaces What is a GUI? X Window Who Is in Charge of X Window? Layers of Abstraction The Window Manager The Desktop Environment Layers of Abstraction: Revisited How the Unix Companies Blew It KDE and Gnome CDE and Total Cost of Ownership Choosing a Desktop Environment The Grandmother Machine CHAPTER 6: The Unix Work Environment Doing More Than One Thing at a Time: Part I The GUI and the CLI Logging In and Logging Out with a GUI Runlevels Does Microsoft Windows Have Runlevels? Learning to Use a GUI Of Mice and Menus Resizing, Minimizing, Maximizing and Closing Windows Controlling the Focus: Task Switching Multiple Desktops / Workspaces Terminal Windows Virtual Consoles The One and Only Console Selecting and Inserting Copying and Pasting Working as Superuser: su Entering a Single Command as Superuser: sudo Confi guration Files Looking Inside a Confi guration File Shutting Down and Rebooting: init, reboot, shutdown . . What Happens When the System Starts or Stops? dmesg Doing More Than One Thing at a Time: Part II CHAPTER 7: Using the Keyboard With Unix The First Unix Terminals Teletypes and the Unix Culture Termcap, Terminfo and curses How Does Unix Know What Type of Terminal You Are Using? . . The Modifi er Keys; TheKey The Unix Keyboard Signals Signals to Use While Typing: erase, werase, kill The Strangeness of and The Case of the Mysterious ^H Stopping a Program: intr Another Way to Stop a Program: quit Pausing the Display: stop, start The End of File Signal: eof The Shell and the eof Signal Bash: Trapping the eof Signal Korn Shell: Trapping the eof Signal C-Shell: Trapping the eof Signal Displaying Key Mappings: stty -a Changing Key Mappings: stty Command Line Editing RETURN AnD LINEFEED The Importance oF NEWLINE An Important Use for ^J: stty sane, reset The Fable of the Programmer and the Princess CHAPTER 8: Programs to Use Right Away Finding a Program on Your System: which,type, whence How Do You Stop a Program? Displaying the Time and Date: date Displaying a Calendar: cal The Unix Reminder Service: calendar Information About Your System: uptime, hostname, uname . Information About You: whoami, quota Information About Other Users: users, who, w Locking Your Terminal Temporarily: lock Asking Unix to Remind You When to Leave: leave A Built-In Calculator: bc Using bc for Calculations Using Variables With bc Using bc with Different Bases Reverse Polish Notation The Stack-Based Calculator: dc CHAPTER 9: Documentation: The Unix Manual and Info The Unix Tradition of Teaching Yourself RTFM What Is the Unix Manual? man Man Pages Displaying Man Pages Two Useful Man Page Techniques Alternatives to man: xman and the Web How the Unix Manual Is Organized Specifying the Section Number When Using the man Command . How Man Pages Are Referenced The Format of a Manual Page A Quick Way to Find Out What a Command Does: whatis Searching For a Command: apropos Foo, Bar and Foobar The Info System Info and Trees Starting Info: info Learning About Info Reading an Info File Jumping From One Node to Another CHAPTER 10: Command Syntax Entering More Than One Command at a Time What Happens When You Enter a Command? Command Syntax Options Dash Options and Dash-Dash Options Arguments Whitespace One or More; Zero or More The Formal Description of a Command: Syntax Learning Command Syntax From the Unix Manual How Can You Learn So Many Options? CHAPTER 11: The Shell What is a Shell? The Bourne Shell Family: sh, ksh, bash The C-Shell Family: csh, tcsh Which Shell Should You Use? Changing Your Shell Temporarily The Password File: Changing Your Login Shell: chsh CHAPTER 12: Using the Shell: Variables and Options Interactive and Non-interactive Shells The Environment, Processes and Variables Environment Variables and Shell Variables Displaying Environment Variables: env, printenv Displaying Shell Variables: set Displaying and Using the Value of a Variable: echo, print Bourne Shell Family: Using Variables: export, unset Shell Options: set -o, set +o Displaying Shell Options Machine-readable, Human-readable CHAPTER 13: Using the Shell: Commands and Customization Metacharacters Quoting and Escaping Strong and Weak Quotes Commands That Are Built into the Shell: type Learning About Builtin Commands External Commands and the Search Path Modifying Your Search Path How a Hacker Can Use the Search Path The Shell Prompt Modifying the Shell Prompt Using the Value of a Variable Which Quotes to Use When Quoting Variables Special Codes That Use an Escape Character Command Substitution Typing Commands and Making Changes The History List: fc, history History List: Setting the Size History List Example: Avoid Deleting the Wrong Files Displaying Event Number & Working Directory in Your Shell Prompt Autocompletion Autocompletion: Beyond the Basics Using Autocompletion for Fun and Profi t Command Line Editing: bindkey Aliases: alias, unalias Suspending an Alias Temporarily Alias Example: Avoid Deleting the Wrong Files Alias Example: Reusing Commands From the History List Alias Example: Displaying Name of Working Directory in Shell Prompt CHAPTER 14: Using the Shell: Initialization Files Initialization Files and Logout Files Names of Initialization and Logout Files Dotfi les and rc Files Using a Simple Text Editor Login Shells and Non-Login Shells When Are Initialization Files Executed? A Quick History of Shell Initialization Files What to Put in Your Initialization Files Displaying, Creating and Editing Your Initialization Files Comments in Shell Scripts Bourne Shell Family: Sample Initialization Files C-Shell Family: Sample Initialization Files CHAPTER 15: Standard I/O, Redirection, and Pipes The Unix Philosophy The New Unix Philosophy Standard Input, Standard Output and Standard Error Redirecting Standard Output Preventing Files From Being Replaced or Created by Redirection . Redirecting Standard Input File Descriptors; Redirecting Standard Error With the Bourne Shell Family Subshells Redirecting Standard Error With the C-Shell Family Combining Standard Output and Standard Error Throwing Away Output Redirection: Summaries and Experimenting Pipelines Splitting a Pipeline: tee The Importance of Pipelines Conditional Execution CHAPTER 16: Filters: Introduction and Basic Operations Variations of Commands and Options Filters Should You Create Your Own Filters? The Problem Solving Process The Simplest Possible Filter: cat Increasing the Power of Filters A List of the Most Useful Filters Combining Files: cat Splitting Files: split Combining Files While Reversing Lines: tac Reversing the Order of Characters: rev Select Lines From the Beginning or End of Data: head, tail . . Deleting Columns of Data: colrm CHAPTER 17: Filters: Comparing and Extracting Comparing Files Comparing Any Two Files: cmp Comparing Sorted Text Files: comm Comparing Unsorted Text Files: diff Options to Use With diff Output Formats When Comparing Files: diff, sdiff Diffs and Patches Extracting Columns of Data: cut Combining Columns of Data: paste CHAPTER 18: Filters: Counting and Formatting Creating line numbers: nl Counting Lines, Words and Characters: wc How Unix Uses Tabs Visualizing Tabs and Spaces Changing Tabs to Spaces: expand Changing Spaces to Tabs: unexpand Formatting lines: fold The 80-Character Line Formatting Paragraphs: fmt The Olden Days of Printing Formatting Text Into Pages: pr Formatting Text Into Columns: pr CHAPTER 19: Filters: Selecting, Sorting, Combining, and Changing Selecting Lines That Contain a Specifi c Pattern: grep The Most Important grep Options Variations of grep: fgrep, egrep Selecting Lines Beginning With a Specifi c Pattern: look When Do You Use look and When Do You Use grep? Finding All the Words That Begin With a Specifi c Pattern: look . Sorting Data: sort Controlling the Order in Which Data Is Sorted: sort -dfn Checking If Data Is Sorted: sort -c The ASCII Code; Collating Sequences Locales and Collating Sequences Finding Duplicate Lines: uniq Merging Sorted Data From Two Files: join Create a Total Ordering From Partial Orderings: tsort Translating Characters: tr Translating Unprintable Characters Translating Characters: Advanced Topics Non-interactive Text Editing: sed Using sed for Substitutions Telling sed to Operate Only on Specifi c Lines Using Very Long sed Commands CHAPTER 20: Regular Expressions Introducing Regular Expressions The Origin of Regular Expressions Basic and Extended Regular Expressions Matching Lines and Words Matching Characters; Character Classes Predefi ned Character Classes; Ranges Locales and Collating Sequences: locale; The ASCII Code Using Ranges and Predefi ned Character Classes Repetition Operators How to Understand a Complex Regular Expression Solving Three Interesting Puzzles; The Dictionary File CHAPTER 21: Displaying Files Survey of Programs Used to Display Files Introduction to less: Starting, Stopping, Help The Story of less and more Using less Using less to Search Within a File Options to Use With less When to Use less and When to Use cat Using Environment Variables to Customize Your Pager Displaying Multiple Files With less Displaying a File Using more Displaying the Beginning of a File: head Displaying the End of a File: tail Watching the End of a Growing File: tail -f Binary, Octal and Hexadecimal Reading and Writing Binary, Octal and Hexadecimal Why We Use Hexadecimal Rather Than Octal Displaying Binary Files: hexdump, od Why Does So Much Computer Terminology Come From Mathematics? CHAPTER 22: The vi Text Editor Why Is vi So Important? A Quick History of vi Vim: an Alternative to vi Starting vi Starting Vim: vim Command Mode and Input Mode Knowing What Mode You Are In Starting vi as a Read-Only Editor: view, vi -R Recovering Data After a System Failure Stopping vi How vi Uses the Screen Using vi and ex Commands A Strategy for Learning vi Commands Creating a Practice File Moving the Cursor Moving Through the Editing Buffer Jumping to a Previous Location Searching for a Pattern Using Line Numbers Inserting Text Changing Text Replacing Text Deleting Text Undoing or Repeating a Change Recovering Deletions Moving Text Copying Text Changing the Case of Letters Setting Options Displaying Options Breaking Lines Automatically As You Type Breaking and Joining Lines Copying and Moving Lines Entering Shell Commands Inserting Data From a File Into the Editing Buffer Inserting the Output of a Shell Command Into the Editing Buffer Using a Program to Process Data: fmt Writing Data to a File Changing to a New File Using Abbreviations Macros Initialization Files: .exrc, .vimrc Using Two Initialization Files Learning to Use Vim It’s Always Something CHAPTER 23: The Unix Filesystem What Is a File? Types of Files Directories and Subdirectories Special Files Special Files for Hardware Special Files for Terminals: tty Special Files for Pseudo-Devices Named Pipes: mkfifo Proc Files The Tree-Structured Filesystem; The Filesystem Hierarchy Standard The Root Directory; Subdirectories Mounting a Filesystem: mount, umount A Tour of the Root Directory A Tour of the /usr Directory Why Is There More Than One Directory for Programs? Home Directories The Virtual File System CHAPTER 24: Working With Directories Pathnames and Your Working Directory Absolute and Relative Pathnames Three Handy Pathname Abbreviations: .. . ~ Moving Around the Directory Tree: cd, pwd Removing a Directory: rmdir Using the Directory Stack: pushd, popd, dirs The Most Important Program of All: ls Listing the Contents of a Directory: ls -CrR1 Collating Sequences, Locales and ls Checking File Types, Part I: ls -F Checking File Types, Part II: ls --color Checking File Types, Part III: file Keeping Track of Your Disk Space Usage: ls -hs, du, df, quota How Big Is a File? Blocks and Allocation Units: dumpe2fs Globbing With Wildcards Dot Files (Hidden Files): ls -a Long Directory Listings: ls -dhltu Useful Aliases for Using ls Displaying a Directory Tree: tree File Managers CHAPTER 25: Working With Files Creating a File: touch Naming a File Copying a File: cp Copying Files to a Different Directory: cp Copying a Directory to Another Directory: cp -r Moving a File: mv Renaming a File or Directory: mv Deleting a File: rm How to Keep From Deleting the Wrong Files: rm -if Deleting an Entire Directory Tree: rm -r Is It Possible to Restore a File That Has Been Deleted? File Permissions Setuid How Unix Maintains File Permissions: id, groups Displaying File Permissions: ls -l File Modes Changing File Permissions: chmod How Unix Assigns Permissions to a New File: umask Wiping Out the Contents of a File: shred The Idea of a Link: stat, ls -i Multiple Links to the Same File Creating a New Link: ln How the Basic File Commands Work Symbolic Links: ln -s Using Symbolic Links With Directories Finding Files Associated With a Unix Command: whereis Finding Files by Searching a Database: locate Finding Files by Searching a Directory Tree: find The find Command: Paths The find Command: Tests The find Command: Negating a Test With the ! Operator The find Command: Dealing With File Permission Error Messages The find Command: Actions Processing Files That Have Been Found: xargs CHAPTER 26: Processes and Job Control How the Kernel Manages Processes Forking Till You Die Orphans and Abandoned Processes Distinguishing Between Parent and Child The Very First Process: init Foreground and Background Processes Creating a Delay: sleep Job Control Running a Job in the Background Suspending a Job: fg Suspending a Shell: suspend Job Control vs. Multiple Windows Displaying a List of Your Jobs: jobs Moving a Job to the Foreground: fg Moving a Job to the Background: bg Learning to Use the ps Program The ps Program: Basic Skills The ps Program: Choosing Options The ps Program: States Monitoring System Processes: top, prstat Displaying a Process Tree: pstree, ptree Thinking About How Unix Organizes Processes and Files: fuser Killing a Process: kill Sending a Signal to a Process: kill Setting the Priority for a Process: nice Changing the Priority of an Existing Process: renice Daemons The End of the Last Chapter Bourne Shell Family C-Shell Family APPENDIX A Summary of Unix Commands Covered in This Book . . APPENDIX B Summary of Unix Commands by Category APPENDIX C Summary of vi Commands APPENDIX D The ASCII Code APPENDIX E What to Do If You Forget the Root Password APPENDIX F Time Zones and 24-Hour Time APPENDIX G Shell Options and Shell Variables GLOSSARY QUICK INDEX FOR THE VI TEXT EDITOR GENERAL INDEX QUICK INDEX OF UNIX COMMANDS