Linux Administration with sed and awk
Год выпуска: 6/2023
Сайт производителя:
Pluralsight
Автор: Andrew Mallett
Продолжительность: 4h. 9m.
Тип раздаваемого материала: Видеоурок
Язык: Английский
Файлы примеров: отсутствуют
Формат видео: MP4
Видео: MPEG4 Video (H264) 1280x720 30fps 210kbps
Аудио: AAC 48000Hz stereo 96kbps
Описание: Would you like to programmatically edit files or extract complex data from text files? This course will teach you the skills needed to master text files with tens of thousands of lines; editing content and filtering the data you need.
What you'll learn
Being able to work quicker and more efficiently is a requirement in the modern age. In this course, Linux Administration with sed and awk, you’ll learn how to programmatically edit files and extract complex data. First, you’ll explore working with regular expressions. Next, you’ll discover the power of sed. Finally, you’ll learn how to extract complex data patterns with awk. When you’re finished with this course, you’ll have the skills and knowledge of mastering text files needed to remotely edit files across your estate and pull out valuable data.
About the author
Andrew Mallett
Andrew is an all around Linux professional with in depth knowledge of the OS and this is supported with scripting in bash, perl, python and ruby and application development in C, C++ and Java. Having worked for many years in training, Andrew has developed automated course build systems after endless time wasted on Friday nights. The first build system he built was aptly named "Friday nights." This has inspired his interest in all things deployment related. He has authored training courses on Microsoft Deployment Toolkit as well as countless bespoke PXE solutions to training organizations. His commitment to the community shows in the amount of content that he has uploaded to his YouTube channel since theurbanpenguin was founded in 2009, as well as more recently helping with the Google / Raspberry Pi CoderDojo project. He also teaches Linux in schools. Over the years Andrew has taught Novell, Microsoft, Lotus Notes, Citrix, Solaris as well as Linux. It is Linux, though, where his love is. Andrew is able to help you understand how the product will fit into your organization and understand the heterogeneous environment we all work in.
Содержание
1. Course Overview (2 mins)
1. Course Overview (2 m)
2. Introduction to Regular Expressions and Filtering Text (48 mins)
1. Introduction to Processing Text Files in Linux (7 m)
2. Simple Examples in Using grep (7 m)
3. Using Enhanced Regular Expressions (9 m)
4. Searching Multiple Files (6 m)
5. Understanding Text File Processing (5 m)
6. Processing Different File Formats (11 m)
7. Summary and What's Next (2 m)
3. The Stream Editor (44 mins)
1. Working with Line Numbers in sed (6 m)
2. Editing Text Files Using Line Numbers (9 m)
3. Understanding Text Editing Using sed (5 m)
4. Editing Text Using Regular Expressions (10 m)
5. Creating an Alias for sed (5 m)
6. Working with Text Blocks in sed (6 m)
7. Summary and What's Next (3 m)
4. Advanced Editing Using sed (41 mins)
1. Adding a Shebang to Scripts Only if it's Absent (10 m)
2. Understanding sed Scripts (5 m)
3. Working with Simple sed Scripts (5 m)
4. Testing Conditions in sed Scripts (10 m)
5. Remotely Editing Files Using sed and SSH (9 m)
6. Summary and What's Next (2 m)
5. Filtering Text Files Using awk (38 mins)
1. Understanding awk (5 m)
2. The awk MAIN Block (9 m)
3. Working with the BEGIN Block (7 m)
4. Working with the END Block (3 m)
5. Using awk Files (6 m)
6. Formatting Command Output (6 m)
7. Summary and What's Next (1 m)
6. Filter Data from Differing Text File Formats (42 mins)
1. Using awk to Convert File Formats (7 m)
2. Understand awk and Converting to YAML (6 m)
3. Converting the /etc/passwd file to YAML (9 m)
4. Searching YAML Data with awk (3 m)
5. Using sed to Edit VirtualHost Files (7 m)
6. Using awk to Print Apache VirtualHost Records (6 m)
7. Summary and What's Next (4 m)
7. Filtering Data from Log Files (34 mins)
1. Working with Journalctl and Logs (5 m)
2. Simple Searches of the Journal Log Using awk (7 m)
3. Searching for Invalid Root Logins and the IP Used (7 m)
4. Searching for IPs used for Root lLogin or Invalid User Logins (4 m)
5. Implementing a Firewall to Block IPs Listed by awk (7 m)
6. Summary (3 m)