
Tweak Your Mac Terminal: Command Line macOS
Daniel Platt
Résumé
Once you have your terminal set up and ready to rock, you'll review the basics of programming on the Mac terminal.
You'll work with Brew (HomeBrew), which gives you the ability to install applications from Linux (and Unix) that can make the terminal more useful. This is important, because a lot of applications have been stripped out of macOS or deprecated. For example, Apple's built-in PHP is usually a major release behind. You'll also customize your terminal to change everything about it, making it your own. The whole world is about personalizing. Why put up with the Apple defaults?
Once you have your terminal set up and ready to rock, you'll review the basics of programming on the Mac terminal. This will allow you to get a taste of power scripting. You'll discover the power of bash, PHP, and Python. And then you'll apply those tools to web development.
Tweak Your Mac Terminal takes you on a journey into a world of the terminal and its hidden applications.
What You'll Learn
- Customize the terminal to make it perfect for your needs
- Develop web applications using basic coding skills in the terminal
- Install HomeBrew and by extension Linux and Unix applications
Who This Book Is For Mac users who are already very familiar with the GUI and want to go further. This book will especially help starting IT professionals and beginning programmers.
Chapter 1: System Setup and Requirements
* Introduction
* Requirements
* Installing XCode
* Resources
Chapter 2: Basics of the Terminal
* Where is the terminal
* What is the terminal
* Built-in manual
* Text editor
* What is a shell?
* Moving around
* The filesystem
o Pwd
o Cd
* Permissions
Chapter 3: Customizing Your Terminal
* Customising the look (background/foreground colour)
* Aliases
* Paths
* Ln - Aliases / shortcuts
* Prompt
Chapter 4: Built in Commands Provided by macOS
* Lsof - Eject a drive with an open file
* Which - where is your command?
* Open
* Say
* Sysctl for system state
* Compression - gz, zip
* Finding content in files
* Find a file name
* Search and replace - Sed
* Spot the difference in text files - Diff
* Copy and paste
* Built-in Psychotherapist (emacs)
* Downloading files
* Scheduling with launchd
* Running processes
* Sudo
* Pretending website is somewhere else
* Remote shell
Chapter 5: Brew
* What brew is
* Why use brew
* Installing brew
* Finding applications in brew
* Installing applications from brew
* Brew maintenance
* When things go wrong
Chapter 6: Extra Applications
* Tmux
* Cowsay
* Figlet
* Lolcat
* Archey
* Linux utilities missing from macOS
* head, tail
* formatting xml, json files
* grep
Chapter 7: Services
* Using terminal to access content
* Weather
* Star Wars
Chapter 8: Oh My Zsh
* What is oh My Zsh
* Installation
* Themes
* Plugins
Chapter 9: Programming Languages
* Bash
* PHP
* Python
* Build a few simple terminal games in different languages
Chapter 10: Web Development
* Why
* Nginx
* MySQL
* WordPress
* Putting it live
Chapter 11: Version Control
* What is version control
* Getting started
* Using other repository
* Publishing your repository
* Using application
Chapter 12: Going Further
* Replace terminal with iTerm2
* Ideas for customising the terminal
* Programming Languages
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Daniel Platt |
Parution | 20/11/2020 |
Nb. de pages | 535 |
EAN13 | 9781484261705 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse