Linux Crash Course - awk

preview_player
Показать описание
In this episode of Linux Crash Course, we take a look at the awk command. With awk, you can leverage its power for the "manipulation of data files, text retrieval and processing, and for prototyping and experimenting with algorithms". In this particular video, we'll cover the basics of awk to get you started.

☁️ Support LearnLinuxTV and Set up your own cloud server with Akamai Connected Cloud:

# LearnLinuxTV Sites
🐧 Main site:

🐧 LearnLinuxTV Community:

# Support LearnLinuxTV (commission earned)
📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition. Covers Ubuntu 22.04!

🙌 Support me on Patreon and get early access to new content!

🛒 Affiliate store for Linux compatible hardware/accessories:

💻 Check out the Tiny Pilot KVM for your Homelab:

# About Me
🐦 Follow me on Twitter!

*📘 FAQ*

#Linux #CLI #Awk
Рекомендации по теме
Комментарии
Автор

what's even cooler is look into the history of awk - these foundational core applications have been a part of unix since the 70s. Awk in particular is from 1977.

meowcula
Автор

So much can be done with awk. An instructor of mine showed us an example where someone had written an entire graphic, first-person-shooter game, like DOOM, using just awk.

scottspa
Автор

So many channels I'm subscribed to have featured the Awk command, but only at a basic level. I would love to see a more advanced tutorial on Sed and Awk.

SlideRSB
Автор

I appreciated the "echoed this sentence echoed this sentence" :-)

thenargles
Автор

11:04 well that was.. awkward.


Aight, I'll see myself out.

Yggdra
Автор

I'm a Linode customer, and he's totally right! I highly recommend!

telmomarinho
Автор

Awk and Sed are both very useful, even together. I don't even pretend to know much about Awk but I find it fun just to see what output I can get sometimes... Lol Loved the ECHO Echo echo... Nice!
I just used the '-F ' yesterday, so you brought a smile to my face, thanks... :-)
Just love the Essentials series Jay.
Thanks for the video!
LLAP

BrucesWorldofStuff
Автор

Nice intro tutorial. One small correction though: $0 represents the current record/row being processed, not the entire contents of the file.

stephan
Автор

👍👍👍👍👍THANK You, Jay!
Great foundation for awk!
Have been a topic that I wanted to learn; now I am more confident to explore.
Execellent learning experience.
Once again, thanks!

bobwong
Автор

Awk is incredily powerfull command capable of extending bash script's fuctionality far beyond what bash can normaly do by acting as interpreter. Basicly you can write code in programming language say python for example since python has it's roots in c and execute it in bash via wak because awk can interpret it in a way bash can execute it. Here in particular we have awk {print} where awk is executing print action from let's use python which you can't normaly use in bash instead you do same thing with cat. By using awk in your bash script as i said you can writr small program in c or similar lanugage and awk will as a said interpret it so bash can run it.

raughboy
Автор

Awk seems like THE tool, the MUST HAVE tool.

zeppelinmexicano
Автор

That echo this sentence edit was really funny 😂, love it

TheEmperorXavier
Автор

Thanks @jay
I requested this video at official site. I am really happy to see that you have made videos on it really fast

Really appreciate it ☺️

abhishekkumar
Автор

Hey Jay, amazing work as always. You are my Master Splinter.

I'm guessing that bracket expansion works here as well. I was curious if you thought a dedicated video about bracket expansion would be something that would interest you.

Also... A video about Regex would be really neat. I think your approach to teaching works especially well for me and it would be pretty sweet. Also, I should probably check your channel to see if that video already exists.

Thanks, Jay!

asaskald
Автор

Excellent tutorial, super simple and easy to follow!

Seedlinux
Автор

8:40 I was sure he was going to choose the final field, totally laughed out loud at the actual result/comment 😄

Godmil
Автор

11:04 major glitch in the matrix! in the matrix... in the matrix.

DaveSomething
Автор

11.03 echo ...echo..echo haha. i noticed it thansks a lot for doing such efforts.

pranavdesai-xvqw
Автор

For copy-pasting:
leonardo blue leader
raphael red hothead
michelangelo orange party-animal
donatello purple geek

mlarktar
Автор

Thanks for this episode on awk, can we have a another one regarding using awk against logs like switch log, server logs ..to do troubleshooting

alexplane