Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Daniel J. Barrett
Macintosh Terminal Pocket Guide
1. The Macintosh Terminal
What’s in This Book?
What’s the Terminal?
What’s a Command?
Ten Commands to Try
Reading This Book
Standard Input and Output
Keystrokes
Long lines
Your friend, the echo command
Quick help
Running the Terminal
The Filesystem
Structure of the Filesystem
Navigating the Filesystem
Home Directories in the Filesystem
System Directories in the Filesystem
Directory path part 1: category
Directory path part 2: scope
Directory path part 3: application
File Protections
The Shell
The Shell Versus Programs
Selected Features of the bash Shell
Wildcards
Brace expansion
Shell variables
Search path
Aliases
Input/output redirection
Pipes
Combining commands
Quoting
Escaping
Command-line editing
Command history
Filename completion
Shell Job Control
Killing a Command in Progress
Terminating a Shell
Tailoring Shell Behavior
2. Commands
Basic File Operations
Directory Operations
File Viewing
File Creation and Editing
Creating a File Quickly
Your Default Editor
File Properties
File Text Manipulation
File Location
File Compression and Packaging
File Comparison
Printing
Disks and Filesystems
Viewing Processes
Controlling Processes
Scheduling Jobs
Users and Their Environment
Becoming the Superuser
Group Management
Host Information
Host Location
Network Connections
Email Commands
Web Commands
Messaging
Screen Output
Math and Calculations
Dates and Times
3. Advanced Topics
Running a Shell Remotely
Enabling remote logins
Logging in remotely with SSH
SSH roadblocks
Installing Software with a Package Manager
Obtaining an Apple Developer ID
Installing Xcode
Installing Command Line Tools for Xcode
Installing the Homebrew Package Manager
Using Homebrew
Installing from TAR Files
Programming with Shell Scripts
Creating and Running Shell Scripts
Whitespace and Linebreaks
Variables
Input and Output
Booleans and Return Codes
test and “[”
true and false
Conditionals
Loops
Break and Continue
Command-Line Arguments
Exiting with a Return Code
Beyond Shell Scripting
Getting Help
Final Words
Acknowledgments
Index
About the Author
Copyright
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Macintosh Terminal Pocket Guide
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset