Book description
Learn to use Unix, OS X, or Linux quickly and easily!
In just 24 lessons of one hour or less, Sams Teach Yourself Unix in 24 Hours helps you get up and running with Unix and Unix-based operating systems such as Mac OS X and Linux.
Designed for beginners with no previous experience using Unix, this book’s straightforward, step-by-step approach makes it easy to learn.
Each lesson clearly explains essential Unix tools and techniques from the ground up, helping you to become productive as quickly and efficiently as possible.
Step-by-step instructions carefully walk you through the most common Unix tasks.
Practical, hands-on examples show you how to apply what you learn.
Quizzes and exercises help you test your knowledge and stretch your skills.
Notes and tips point out shortcuts and solutions
Learn how to…
Pick the command shell that’s best for you
Organize the Unix file system (and why)
Manage file and directory ownership and permissions
Maximize your productivity with power filters and pipes
Use the vi and emacs editors
Create your own commands and shell scripts
Connect to remote systems using SSH and SFTP
Troubleshoot common problems
List files and manage disk usage
Get started with Unix shell programming
Set up printing in a Unix environment
Archive and back up files
Search for information and files
Use Perl as an alternative Unix programming language
Set up, tweak, and make use of the GNOME graphical environment
Contents at a Glance
HOUR 1: What Is This Unix Stuff?
HOUR 2: Getting onto the System and Using the Command Line
HOUR 3: Moving About the File System
HOUR 4: Listing Files and Managing Disk Usage
HOUR 5: Ownership and Permissions
HOUR 6: Creating, Moving, Renaming, and Deleting Files and Directories
HOUR 7: Looking into Files
HOUR 8: Filters, Pipes, and Wildcards!
HOUR 9: Slicing and Dicing Command-Pipe Data
HOUR 10: An Introduction to the vi Editor
HOUR 11: Advanced vi Tricks, Tools, and Techniquess
HOUR 12: An Overview of the emacs Editor
HOUR 13: Introduction to Command Shells
HOUR 14: Advanced Shell Interaction
HOUR 15: Job Control
HOUR 16: Shell Programming Overview
HOUR 17: Advanced Shell Programming
HOUR 18: Printing in the Unix Environment
HOUR 19: Archives and Backups
HOUR 20: Using Email to Communicate
HOUR 21: Connecting to Remote Systems Using SSH and SFTP
HOUR 22: Searching for Information and Files
HOUR 23: Perl Programming in Unix
HOUR 24: GNOME and the GUI Environment
Appendix A: Common Unix Questions and Answers
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- Hour 1. What Is This Unix Stuff?
- Hour 2. Getting onto the System and Using the Command Line
- Hour 3. Moving About the File System
- Hour 4. Listing Files and Managing Disk Usage
-
Hour 5. Ownership and Permissions
-
Working with File Permissions
- Task 5.1: Understanding File Permissions Settings
- Task 5.2: Directory Permissions Settings
- Task 5.3: Modifying File and Directory Permissions with chmod
- Task 5.4: Setting New File Permissions with chmod
- Task 5.5: Calculating Numeric Permissions Strings
- Task 5.6: Establishing Default File and Directory Permissions with the umask Command
- Task 5.7: Identifying Owner and Group for Any File or Directory
- Summary
- Workshop
-
Working with File Permissions
-
Hour 6. Creating, Moving, Renaming, and Deleting Files and Directories
-
Manipulating the Unix File System
- Task 6.1: Creating New Directories Using mkdir
- Task 6.2: Copying Files to New Locations Using cp
- Task 6.3: Moving Files to New Locations Using mv
- Task 6.4: Renaming Files with mv
- Task 6.5: Removing Directories with rmdir
- Task 6.6: Removing Files Using rm
- Task 6.7: Minimizing the Danger of the rm Command
- Summary
- Workshop
-
Manipulating the Unix File System
- Hour 7. Looking into Files
- Hour 8. Filters, Pipes, and Wildcards!
- Hour 9. Slicing and Dicing Command-Pipe Data
- Hour 10. An Introduction to the vi Editor
- Hour 11. Advanced vi Tricks, Tools, and Techniques
- Hour 12. An Overview of the emacs Editor
- Hour 13. Introduction to Command Shells
- Hour 14. Advanced Shell Interaction
- Hour 15. Job Control
- Hour 16. Shell Programming Overview
- Hour 17. Advanced Shell Programming
- Hour 18. Printing in the Unix Environment
- Hour 19. Archives and Backups
- Hour 20. Using Email to Communicate
- Hour 21. Connecting to Remote Systems Using SSH and SFTP
- Hour 22. Searching for Information and Files
- Hour 23. Perl Programming in Unix
- Hour 24. GNOME and the GUI Environment
-
Appendix A. Common Unix Questions and Answers
- How do I use find|xargs with filenames that contain spaces?
- How do I find large files on my system?
- How do I run a program on a schedule?
- How do I fix file permission problems?
- How do I list files that don’t match a given pattern?
- How do I view lines X–Y in a text file?
- How do I add a new directory to my PATH?
- How do I recover deleted files?
- How can I set my shell to protect me from accidental deletions?
- What do the shell errors arg list too long and broken pipe mean?
- Why use ssh instead of telnet? Or sftp instead of ftp?
- Summary
- Index
- Code Snippets
Product information
- Title: Unix in 24 Hours, Sams Teach Yourself: Covers OS X, Linux, and Solaris, Fifth Edition
- Author(s):
- Release date: October 2015
- Publisher(s): Sams
- ISBN: 9780134095554
You might also like
book
Learning Unix for OS X, 2nd Edition
Think your Mac is powerful now? Author Dave Taylor shows you how to get much more …
book
Linux in a Nutshell, 6th Edition
Everything you need to know about Linux is in this book. Written by Stephen Figgins, Ellen …
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
Linux Bible, 9th Edition
The industry favorite Linux guide, updated for Red Hat Enterprise Linux 7 and the cloud Linux …