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