A practical guide to Linux commands, editors, and shell programming

Mark G. Sobell

Book - 2013

Saved in:

2nd Floor Show me where

005.432/LINUX/Sobell
1 / 1 copies available
Location Call Number   Status
2nd Floor 005.432/LINUX/Sobell Checked In
Subjects
Published
Upper Saddle River, NJ : Prentice Hall c2013.
Language
English
Main Author
Mark G. Sobell (-)
Edition
3rd ed
Physical Description
l, 1154 p. : ill. ; 23 cm
Bibliography
Includes bibliographical references and indexes.
ISBN
9780133085044
  • Preface
  • Chapter 1. Welcome to Linux and Mac OS X
  • The History of UNIX and GNU-Linux
  • What Is So Good About Linux?
  • Overview of Linux
  • Additional Features of Linux
  • Chapter Summary
  • Exercises
  • Part I. The Linux and Mac OS X Operating Systems
  • Chapter 2. Getting Started
  • Conventions Used in This Book
  • Logging In from a Terminal (Emulator)
  • Working from the Command Line
  • Su/sudo: Curbing Your Power (root Privileges)
  • Where to Find Documentation
  • More About Logging In and Passwords
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 3. The Utilities
  • Special Characters
  • Basic Utilities
  • Working with Files
  • (Pipeline): Communicates Between Processes
  • Four More Utilities
  • Compressing and Archiving Files
  • Locating Utilities
  • Displaying User and System Information
  • Communicating with Other Users
  • Email
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 4. The Filesystem
  • The Hierarchical Filesystem
  • Directory Files and Ordinary Files
  • Pathnames
  • Working with Directories
  • Access Permissions
  • ACLs: Access Control Lists
  • Links
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 5. The Shell
  • The Command Line
  • Standard Input and Standard Output
  • Running a Command in the Background
  • Filename Generation/Pathname Expansion
  • Builtins
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Part II. The Editors
  • Chapter 6. The vim Editor
  • History
  • Tutorial: Using vim to Create and Edit a File
  • Introduction to vim Features
  • Command Mode: Moving the Cursor
  • Input Mode
  • Command Mode: Deleting and Changing Text
  • Searching and Substituting
  • Miscellaneous Commands
  • Copying, Moving, and Deleting Text
  • Reading and Writing Files
  • Setting Parameters
  • Advanced Editing Techniques
  • Units of Measure
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 7. The emacs Editor
  • History
  • Tutorial: Getting Started with emacs
  • Basic Editing Commands
  • Online Help
  • Advanced Editing
  • Major Modes: Language-Sensitive Editing
  • Customizing emacs
  • More Information
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Part III. The Shells
  • Chapter 8. The Bourne Again Shell (bash)
  • Background
  • Startup Files
  • Commands That Are Symbols
  • Redirecting Standard Error
  • Writing and Executing a Simple Shell Script
  • Control Operators: Separate and Group Commands
  • Job Control
  • Manipulating the Directory Stack
  • Parameters and Variables
  • Special Characters
  • Locale
  • Time
  • Processes
  • History
  • Aliases
  • Functions
  • Controlling bash: Features and Options
  • Processing the Command Line
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 9. The TC Shell (tcsh)
  • 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
  • Part IV. Programming Tools
  • Chapter 10. Programming the Bourne Again Shell (bash)
  • Control Structures
  • File Descriptors
  • Parameters
  • Variables
  • Builtin Commands
  • Expressions
  • Implicit Command-Line Continuation
  • Shell Programs
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 11. The Perl Scripting Language
  • Introduction to Perl
  • Variables
  • Control Structures
  • Working with Files
  • Sort
  • Subroutines
  • Regular Expressions
  • CPAN Modules
  • Examples
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 12. The Python Programming Language
  • Introduction
  • Scalar Variables, Lists, and Dictionaries
  • Control Structures
  • Reading from and Writing to Files
  • Regular Expressions
  • Defining a Function
  • Using Libraries
  • Lambda Functions
  • List Comprehensions
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 13. The MySQL Database Management System
  • Notes
  • Installing a MySQL Server and Client
  • Client Options
  • Setting Up MySQL
  • Creating a Database
  • Adding a User
  • Examples
  • Chapter Summary
  • Exercises
  • Chapter 14. The AWK Pattern Processing Language
  • Syntax
  • Arguments
  • Options
  • Notes
  • Language Basics
  • Examples
  • Advanced gawk Programming
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Chapter 15. The sed Editor
  • Syntax
  • Arguments
  • Options
  • Editor Basics
  • Examples
  • Chapter Summary
  • Exercises
  • Part V. Secure Network Utilities
  • Chapter 16. The rsync Secure Copy Utility
  • Syntax
  • Arguments
  • Options
  • Examples
  • Chapter Summary
  • Exercises
  • Chapter 17. The OpenSSH Secure Communication Utilities
  • Introduction to OpenSSH
  • Running the ssh, scp, and sftp OpenSSH Clients
  • Tunneling/Port Forwarding
  • Chapter Summary
  • Exercises
  • Advanced Exercises
  • Part VI. Command Reference
  • Utilities That Display and Manipulate Files
  • Network Utilities
  • Utilities That Display and Alter Status
  • Utilities That Are Programming Tools
  • Miscellaneous Utilities
  • Standard Multiplicative Suffixes
  • Common Options
  • The sample Utility
  • Sample: Brief description of what the utility does
  • Aspell: Checks a file for spelling errors
  • At: Executes commands at a specified time
  • Busybox: Implements many standard utilities
  • 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, restores files from an archive, or copies a directory hierarchy
  • 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 text files
  • Diskutil: Checks, modifies, and repairs local volumes (OS X)
  • Ditto: Copies files and creates and unpacks archives (OS X)
  • Dmesg: Displays kernel messages
  • Dscl: Displays and manages Directory Service information (OS X)
  • Du: Displays information on disk usage by directory hierarchy and/or file
  • Echo: Displays a message
  • Expand/unexpand: Converts TABs to SPACEs and SPACEs to TABs
  • 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
  • Gawk: Searches for and processes patterns in a file
  • Gcc: Compiles C and C++ programs
  • GetFileInfo: Displays file attributes (OS X)
  • Grep: Searches for a pattern in files
  • Gzip: Compresses or decompresses files
  • Head: Displays the beginning of a file
  • Join: Joins lines from two files based on a common field
  • Kill: Terminates a process by PID
  • Killall: Terminates a process by name
  • Launchctl: Controls the launchd daemon (OS X)
  • 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 utilities
  • Mc: Manages files in a textual environment (aka Midnight Commander)
  • Mkdir: Creates a directory
  • Mkfs: Creates a filesystem on a device
  • Mv: Renames or moves a file
  • Nice: Changes the priority of a command
  • Nl: Numbers lines from a file
  • Nohup: Runs a command that keeps running after you log out
  • Od: Dumps the content of a file
  • Open: Opens files, directories, and URLs (OS X)
  • Otool: Displays object, library, and executable files (OS X)
  • Paste: Joins corresponding lines from files
  • Pax: Creates an archive, restores files from an archive, or copies a directory hierarchy
  • Plutil: Manipulates property list files (OS X)
  • Pr: Paginates files for printing
  • Printf: Formats string and numeric data
  • Ps: Displays process status
  • Renice: Changes the priority of a process
  • Rm: Removes a file (deletes a link)
  • Rmdir: Removes directories
  • Rsync: Copies files and directory hierarchies securely over a network
  • Scp: Securely copies one or more files to or from a remote system
  • Screen: Manages several textual windows
  • Sed: Edits a file noninteractively
  • SetFile: Sets file attributes (OS X)
  • Sleep: Creates a process that sleeps for a specified interval
  • Sort: Sorts and/or merges files
  • Split: Divides a file into Sections
  • Ssh: Securely executes commands on a remote system
  • Sshfs/curlftpfs: Mounts a directory on an OpenSSH or FTP server as a local directory
  • Stat: Displays information about files
  • Strings: Displays strings of printable characters from files
  • Stty: Displays or sets terminal parameters
  • Sysctl: Displays and alters kernel variables at runtime
  • 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 computer over a network
  • Test: Evaluates an expression
  • Top: Dynamically displays process status
  • Touch: Creates a file or changes a file's access and/or modification time
  • Tr: Replaces specified characters
  • Tty: Displays the terminal pathname
  • Tune2fs: Changes parameters on an ext2, ext3, or ext4 filesystem
  • Umask: Specifies the file-creation permissions mask
  • Uniq: Displays unique lines from a file
  • W: Displays information about local system users
  • Wc: Displays the number of lines, words, and bytes in one or more files
  • Which: Shows where in PATH a utility is located
  • Who: Displays information about logged-in users
  • Xargs: Converts standard input to command lines
  • Part VII. 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 and OS X Related Information
  • Specifying a Terminal
  • Appendix C. Keeping the System Up-to-Date
  • Using yum
  • Using apt-get
  • BitTorrent
  • Appendix D. Mac OS X Notes
  • Open Directory
  • Filesystems
  • Extended Attributes
  • Activating the Terminal META Key
  • Startup Files
  • Remote Logins
  • Many Utilities Do Not Respect Apple Human Interface Guidelines
  • Installing Xcode and MacPorts
  • Mac OS X Implementation of Linux Features
  • Glossary
  • File Tree Index
  • Utility Index
  • Main Index 1111