Join Scott Simpson for an in-depth discussion in this video Manipulate text with awk, sed, and sort, part of Learning Linux Command Line.
- [Voiceover] One of the tasks of a system administrator,…or a systems analyst,…is to make use of data from various logs or outputs.…We've seen how to look at files, and search within them.…So, now let's a take a look at reaching in,…and extracting particular data,…and presenting it in different ways.…There's a few common tools for this,…and which one to use, is largely a matter of preference.…So it's helpful to be at least a little bit…familiar with both.…These tools are called awk, and sed.…Both tools are widely used in command line operations.…And you'll see them both as you…explore system administration and systems programming.…
First, let's take a look at awk.…We've got a simple data file, called simple data dot TXT.…And we can take a look at it with cat.…I'll write cat, simple underscore data dot TXT.…It's a little table of some totally real data.…What awk is great at, and is commonly used for in scripts,…is pulling out programmatically determined data.…To do this, we write an awk program.…Either, right at the command line,…
This course will establish the foundation for more advanced Linux topics. Find other Linux training courses here.
- What is the Linux command line?
- Writing Linux commands at the prompt
- Finding help for Linux commands
- Editing files and folders
- Configuring user roles and file permissions
- Using pipes to connect commands
- Peeking at files
- Searching and editing text
- Finding disk and system information
- Installing and updating software
Skill Level Beginner
1. Command-Line Basics
2. Files, Folders, and Permissions
3. Common Command-Line Tasks and Tools
4. A Peek at Some More Advanced Topics
- 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.