Join Kevin Skoglund for an in-depth discussion in this video Introduction to regular expressions, part of Unix for Mac OS X Users.
In the previous movie we learned to use grep to search by using a simple text…string as our search expression.…Grep becomes even more powerful once we learn to use regular expressions.…Now there is a lot to learn about regular expressions.…We can have an entire course on them, and we won't too in-depth here, but in…this movie we will cover the most essential concepts so that you can apply them…and use them with grep.…To begin with notice that in the Terminal I'm inside my user directory and I'll…just change it to my unix_files directory.…And the file that we're going to start by working with is the same fruit.txt…file that we're working with in the last movie.…
It's just a simple list of fruit that we can search inside of and see how…regular expressions work.…To begin with we saw that we can grep for apple inside fruit.txt.…First thing I want to tell you about regular expressions is that it's a good…idea to put quotes around it.…Now they are not strictly required, you saw it worked just fine without them,…
- 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.