Join Kevin Skoglund for an in-depth discussion in this video Customizing the command prompt, part of Unix for Mac OS X Users.
In this movie we're going to learn how to customize the Unix command prompt.…And we talked about long time ago the prompt is this bit of text right here that…occurs before every line, right, to prompt you to enter something.…I don't know why, but it's very, very satisfying to customize that to…something that you like.…Maybe it's because it's the part of Unix that you see most often, but it's…really useful to be able to customize that and make it look exactly the way that you want.…The way that we're going to do that is with a shell variable. And we saw shell…variables in the last movie.…The shell variable we want here is PS1.…That's for the main command prompt.…
There's also a PS2, 3 and 4.…those are for other prompts that occur in other contexts and we don't need…to worry about those.…PS1 is the one we want.…PS1= and then we can make it equal to whatever we want, so -->.…It's always a good idea to put a space after it just so that it separates the…prompt from what you're about to type.…Notice the space that it gave me.…
- 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.