๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Take Control of the Mac Command Line with Terminal

โœ Scribed by Joe Kissell


Publisher
alt concepts inc.
Year
2021
Tongue
English
Series
Take Control Books
Edition
3
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Learn how to unleash your inner Unix geek!

Version 3.1.2, updated April 30, 2021

Release your inner geek and harness the power of the Unix underpinnings of macOS! This book from Joe Kissell explains everything you need to know to become comfortable working on the command line in Terminal, and provides numerous "recipes" for performing useful tasks.

If you've ever thought you should learn to use the Unix command line that underlies macOS, or felt at sea when typing commands into Terminal, Joe Kissell is here to help! With this 221-page book, you'll become comfortable working on the Mac's command line, starting with the fundamentals and adding more advanced topics as your knowledge increases.

Now includes complete coverage of Big Sur, Catalina, and zsh!

Joe includes 64 real-life "recipes" for tasks that are best done from the command line, as well as directions for working with permissions, carrying out grep-based searches, creating shell scripts, and installing Unix software.

The book begins by teaching you these core concepts:
โ€ข The differences among Unix, a command line, a shell, and Terminal
โ€ข Exactly how commands, arguments, and flags work
โ€ข The basics of Terminal's interface and how to customize it

Next, it's on to the command line, where you'll learn:
โ€ข How to navigate your Mac's directory structure
โ€ข Basic file management: creating, copying, moving, renaming, opening, viewing, and deleting files
โ€ข Creating symbolic links
โ€ข The types of command-line programs
โ€ข How to start and stop a command-line program
โ€ข How to edit a text file in nano
โ€ข How to customize your prompt and other shell defaults
โ€ข The importance of your PATH and how to change it, if you need to
โ€ข How to get help (Joe goes way beyond telling you to read the man pages)

You'll extend your skills as you discover how to:
โ€ข Create basic shell scripts to automate repetitive tasks.
โ€ข Make shell scripts that have variables, user input, conditional statements, loops, and math.
โ€ข See which programs are running and what system resources they're consuming.
โ€ข Quit programs that refuse to quit normally.
โ€ข Enable the command line to interact with the Finder.
โ€ข Control another Mac via its command line with ssh.
โ€ข Understand and change an item's permissions, owner, and group.
โ€ข Run commands as the root user using sudo.
โ€ข Handle output with pipe (|) or redirect (> or <).
โ€ข Use grep to search for text patterns in files and filter output.
โ€ข Install new command-line software from scratch or with a package manager.
โ€ข Use handy shortcuts in the Terminal app itself and in zsh.

Questions answered include:
โ€ข What changed on the command line in macOS 11 Big Sur? (Very little, unless you have an M-series Mac with Apple silicon!)
โ€ข What changed on the command line in macOS 10.15 Catalina? (A lot!)
โ€ข What are the differences between the zsh shell and the bash shell?
โ€ข Which shell am I using, and how can I change my default shell?
โ€ข How do I quickly figure out the path to an item on my Mac?

Finally, to help you put it all together, the book showcases 64 real-world "recipes" that combine commands to perform useful tasks, such as listing users who've logged in recently, manipulating graphics, using a separate FileVault password, creating and editing user accounts, figuring out why a disk won't eject, copying the source code of a webpage, determining which apps have open connections to the internet, flushing the DNS cache, finding out why a Mac won't sleep, sending an SMS message, and deleting stubborn items from the Trash.

โœฆ Subjects


Command Line; macOS; Unix; SSH; Shell Scripting; Elementary; zsh


๐Ÿ“œ SIMILAR VOLUMES


Take Control of the Mac Command Line wit
โœ Joe Kissell ๐Ÿ“‚ Library ๐Ÿ“… 2022 ๐Ÿ› alt concepts ๐ŸŒ English

Learn how to unleash your inner Unix geek! Version 3.2.1, updated December 23, 2022 This book introduces you to the Macโ€™s command line environment, teaching you how to use the Terminal utility to accomplish useful, interesting tasks that are either difficult or impossible to do in the graphical inte

Tweak Your Mac Terminal: Command Line ma
โœ Daniel Platt ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› Apress ๐ŸŒ English

Look beyond the basics of Mac programming and development to become a Mac power user. When most people think about the Mac, they think about the amazing graphical user interface macOS is known for. However, there is a whole world to explore beneath the hood. This book approaches working directly in

Tweak Your Mac Terminal: Command Line ma
โœ Daniel Platt ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› Apress ๐ŸŒ English

Look beyond the basics of Mac programming and development to become a Mac power user. When most people think about the Mac, they think about the amazing graphical user interface macOS is known for. However, there is a whole world to explore beneath the hood. This book approaches working directly in