Join Kevin Skoglund for an in-depth discussion in this video Profile, login, and resource files, part of Unix for Mac OS X Users.
In this chapter, we're going to take a look at how we can configure our working…environment in Unix, or put another way, how can you customize bash to your…personal preferences?…Well, the way we'll do that is providing commands inside bash resource files.…Let's take a look at those files and understand how bash works with them.…First, let's talk about the initialization that bash goes through whenever we first log in.…Now on a Mac, logging into bash is the same thing as opening up a Terminal window.…You open up a new Terminal window and it logs us into the bash shell, right?…It auto logs you in as the user that you are in the Finder.…
Well, when it does that, the first thing that bash does upon login is it reads…any commands that are inside the directory etc inside the file profile.…Those are master default commands that every bash user will get.…We don't want to mess with those. Leave those alone.…Those are default settings.…Let Apple take care of managing those for you, all right.…That's the defaults all users get.…
- Moving around the file system
- Creating and reading files
- Copying, moving, renaming, and deleting files and directories
- Creating hard links and symbolic links
- Understanding user identity, file ownership, and sudo
- Setting file permissions with alpha and octal notation
- Changing the PATH variable
- Using the command history
- Directing input and output
- Configuring the Unix working environment
- Searching and replacing using grep and regular expressions
- Manipulating text with tr, sed, and cut
- Integrating with the Finder, Spotlight, and AppleScript
Skill Level Beginner
1. Introduction to Unix
2. Filesystem Basics
3. Working with Files and Directories
4. Ownership and Permissions
5. Commands and Programs
6. Directing Input and Output
7. Configuring Your Working Environment
8. Unix Power Tools
9. Useful Mac-Only Commands and Techniques
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.