Book description
In this updated edition, authors Deborah and Eric Ray use crystal-clear instructions and friendly prose to introduce you to all of today's Unix essentials. You’ll find the information you need to get started with the operating system and learn the most common Unix commands and concepts so that Unix can do the hard work for you. After mastering the basics of Unix, you’ll move on to how to use directories and files, work with a shell, and create and edit files. You’ll then learn how to manipulate files, configure a Unix environment, and run–and even write–scripts. Throughout the book–from logging in to being root–the authors offer essential coverage of Unix.
Table of contents
- Title Page
- Copyright Page
- Dedication
- Acknowledgments
- Table of Contents
- Introduction
-
1. Getting Started with Unix and Linux
- Accessing a Unix System
- Connecting to the Unix or Linux System
- Logging In
- Changing Your Password with passwd
- Listing Directories and Files with ls
- Changing Directories with cd
- Finding Yourself with pwd
- Piping Input and Output
- Redirecting Output
- Using Wildcards
- Viewing File Contents with more
- Displaying File Contents with cat
- Exploring the System
- Getting Help with man
- Logging Out
-
2. Using Directories and Files
- Creating Directories with mkdir
- Creating Files with touch
- Copying Directories and Files with cp
- Listing Directories and Files with ls (More Goodies)
- Moving Files with mv
- Removing Files with rm
- Removing Directories with rmdir
- Finding Forgotten Files with find
- Locating Lost Files with locate
- Linking with ln (Hard Links)
- Linking with ln -s (Soft Links)
-
3. Working with Your Shell
- Discovering Which Shell You’re Using
- Understanding Shells and Options
- Changing Your Shell with chsh
- Changing Your Shell Temporarily
- Using Completion in the bash Shell
- Viewing Session History in the bash Shell
- Using Completion in the zsh Shell
- Viewing Session History in the zsh Shell
- Changing Your Identity with su
- Fixing Terminal Settings with stty
- Exiting the Shell
-
4. Creating and Editing Files
- Choosing an Editor: nano/pico or vi/vim
- Starting nano and Dabbling with It
- Saving in nano
- Cutting and Pasting Text Blocks in nano
- Checking Spelling in nano
- Getting Help in nano
- Exiting nano
- Starting vi (or vim) and Dabbling with It
- Saving in vi
- Adding and Deleting Text in vi
- Importing Files into vi
- Searching and Replacing in vi
- Exiting vi
-
5. Controlling Ownership and Permissions
- Understanding File Ownership and Permissions
- Finding Out Who Owns What
- Finding Out Which Group You’re In
- Changing the Group Association of Files and Directories with chgrp
- Changing Ownership of Files and Directories with chown
- Changing Permissions with chmod
- Translating Mnemonic Permissions to Numeric Permissions
- Changing Permission Defaults with umask
-
6. Manipulating Files
- Counting Files and Their Contents with wc
- Viewing File Beginnings with head
- Viewing File Endings with tail
- Finding Text with grep
- Using Regular Expressions with grep
- Using Other Examples of Regular Expressions
- Making Global Changes with sed
- Changing Files with awk
- Comparing Files with cmp
- Finding Differences in Files with diff
- Finding Differences in Files with sdiff
- Sorting Files with sort
- Eliminating Duplicates with uniq
- Redirecting to Multiple Locations with tee
- Changing with tr
- Formatting with fmt
- Splitting Files with split
- 7. Getting Information About the System
-
8. Configuring Your Unix or Linux Environment
- Understanding Your Unix or Linux Environment
- Discovering Your Current Environment
- Adding or Changing Variables
- Looking at Your zsh Configuration Files
- Adding to Your zsh Path
- Changing Your zsh Prompt
- Looking at Your bash Configuration Files
- Adding to Your bash Path
- Changing Your bash Prompt
- Setting Aliases with alias
-
9. Running Scripts and Programs
- Running a Command
- Scheduling Onetime Jobs with at
- Scheduling Regularly Occurring Jobs with cron
- Suspending Jobs
- Checking Job Status with jobs
- Running Jobs in the Background with bg
- Running Jobs in the Foreground with fg
- Controlling Job Priority with nice
- Timing Jobs with time
- Finding Out What Processes Are Running with ps
- Deleting Processes with kill
- 10. Writing Basic Scripts
-
11. Sending and Reading Email
- Choosing an Email Program and Getting Started
- Reading Email with alpine
- Sending Email with alpine
- Customizing alpine
- Reading Email with mutt
- Sending Email with mutt
- Reading Email with mail
- Sending Email with mail
- Creating a Signature File
- Automatically Forwarding Incoming Messages
- Announcing an Absence with vacation
- Configuring procmail
- Managing Email with procmail
-
12. Accessing the Internet
- Getting Familiar with Internet Lingo
- Logging In to Remote Systems with ssh
- Logging In to Remote Systems with telnet
- Communicating with Others Using write
- Communicating with Others Using talk
- Getting Files from the Internet with ftp
- Sharing Files on the Internet with ftp
- Surfing the Web with links
- Surfing the Web with lynx
- Downloading Websites with wget
- Checking Connections with ping
- Tracing Connections with traceroute
- Matching Domain Names with IP Addresses
-
13. Working with Encoded and Compressed Files
- Encoding Files with uuencode
- Decoding Files with uudecode
- Archiving with tar
- Unarchiving Files with tar
- Compressing Files with compress
- Uncompressing Files with uncompress
- Zipping a File or Directory with gzip
- Unzipping a gzip File with gunzip
- Zipping Files and Directories with zip
- Unzipping Zipped Files with unzip
- Combining Commands
- 14. Using Handy Utilities
- 15. Being Root
-
16. Sensational Unix Tricks
- Cleaning Up HTML Documents with tidy
- Searching and Replacing Throughout Multiple Documents with sed
- Generating Reports with awk
- Using Input to Customize Your Environment
- Using ROT13 Encoding with sed
- Embedding ROT13 Encoding in a Shell Script
- Making Backups with rsync
- Using Advanced Redirection with stderr
- A. Unix and Linux Reference
- B. What’s What and What’s Where
- C. Commands, Flags, and Arguments
- Index
Product information
- Title: Unix and Linux: Visual Quickstart Guide, Fifth Edition
- Author(s):
- Release date: July 2014
- Publisher(s): Peachpit Press
- ISBN: 9780133793871
You might also like
book
Unix and Linux: Visual QuickStart Guide, Fourth Edition
With Unix, 4th Edition: Visual QuickStart Guide, readers can start from the beginning to get a …
video
Unix and Linux: Learn by Video
In this video, Ron Hipschman introduces you to today's Unix essentials. You’ll learn the essentials of …
book
Unix in 24 Hours, Sams Teach Yourself: Covers OS X, Linux, and Solaris, Fifth Edition
Learn to use Unix, OS X, or Linux quickly and easily! In just 24 lessons of …
book
Introduction to Unix and Shell Programming
Introduction to Unix and Shell Programming is designed to be an introductory first-level book for a …