Use Grep To Find Simple Patterns In Your Data Quickly And Easily!

preview_player
Показать описание
In this second video on using grep we look at using grep with simple patterns and command line pipes.

00:00 Introduction
00:37 command line
01:03 print complete file
01:28 double quotes or single quotes
02:24 count line numbers
04:11 ignore case
05:09 Extract OS value
05:48 Using cut
06:25 Using tr to remove spaces
07:22 Populate variable
08:18 HashKnownHosts

-~-~~-~~~-~~-~-
Please watch: "RHCSA 9 Working With Podman Containers"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Thanks Andrew. Always find your work useful and clear to follow.

PeteTorkington
Автор

Beautiful presentation Andrew...no matter what your wife says!

bluehornet
Автор

I have an important query. I would like to receive user input in a 4 character format for time 08am for example and then after reading that variable I would like grab the first 2 digits and amend it with :00:00 and save that under a new string variable meanwhile the 2 remaining strings I want to make them uppercase and save them into another variable. After this is done I want to use the 2 new variables with awk command combined with an if statement to pick up a specific dealer that worked at that time from a text file. Thanks alof if you can help?

TheManuel
Автор

I completed your FreeBSD course on Udemy. Do you have other FreeBSD courses (free or paid)? If yes, where can I find them? Do you plan to create such courses?

gary