Linux RULES at Text Manipulation. [BONUS: Basic REGEX]

Опубликовано: 03 Октябрь 2024
на канале: Shawn Powers
17,346
448

Log files, CSV files, or any other text file on a Linux system can easily be manipulated to get just the data you're looking for. In this video we cover the basic text tools in Linux using cut, sort, head, tail, wc, and look at some basic regular expressions (REGEX) using grep.

As promised in the video, here is the actual text we used:

NAME,COLOR,SIZE
orange,orange,medium
grape,green,small
grape,red,small
apple,red,medium
banana,yellow,medium
watermelon,green,large
avocado,green,medium
lemon,yellow,medium
honeydew,green,large

Feel free to copy/paste that into a file so you can do the same exercises we did in the video!

This video based on:
LPI Linux Essentials
Objective 3.2 - Searching and Extracting Data from Files (second half)
https://www.lpi.org/our-certification...

#LPI #LinuxEssentials #Exam_010_160 #Linux

Find me online:
  / shawnp0wers  
https://brainofshawn.com

Check out my comic!
  / mybigroundworld