Skip to Main Content
Take Control of the Mac Command Line with Terminal, 2nd Edition
book

Take Control of the Mac Command Line with Terminal, 2nd Edition

by Joe Kissell
February 2016
Beginner content levelBeginner
167 pages
3h 29m
English
Take Control Books
Content preview from Take Control of the Mac Command Line with Terminal, 2nd Edition

Customize Your Profile

Now that you know the basics of the command line and Terminal, you may find some activities are a bit more complicated than they should be, or feel that you’d like to personalize the way your shell works to suit your needs. One way to exercise more control over the command-line environment is to customize your profile, a special file the bash shell reads every time it runs. In this chapter, I explain how the profile works and how you can use it to save typing, customize your prompt, and more.

How Profiles Work

A profile is a file your shell reads every time you start a new session that can contain a variety of preferences for how you want the shell to look and behave. Among other things, your profile can customize your ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Take Control of Automating Your Mac, 5th Edition

Take Control of Automating Your Mac, 5th Edition

Joe Kissell

Publisher Resources

ISBN: 9781457191107