
Learning Awk Is Essential For Linux Users DistroTube
video description
Date: 2022-03-30
Related videos
Comments and reviews: 10
rolcar
Yup, it's a complete language, as it is taught in CS degree courses (when taught). However this guy, otherwise, is a far more interesting teacher. Thanks, DT! This app/language confusion here is, like with Python, there is the language, AND there is ERIC, a free IDE that comes with Python. ERIC executes Python, but it's NOT Python. The AWK IDE is more invisible, but there. You can write independently, then execute.
reply
Yup, it's a complete language, as it is taught in CS degree courses (when taught). However this guy, otherwise, is a far more interesting teacher. Thanks, DT! This app/language confusion here is, like with Python, there is the language, AND there is ERIC, a free IDE that comes with Python. ERIC executes Python, but it's NOT Python. The AWK IDE is more invisible, but there. You can write independently, then execute.
reply
Stephen
Awk maybe a good powerful tool, but it is NOT an essential must know for all Linux users. I use Linux and don't normally use Awk or anything similar, yet I have no issues. Not everybody needs to know this to get what they need out of a Linux OS. And no, I didn't watch all the video, responding more to the more or less click bait title. I'm tired of click bait, which I define as miss leading titles.
reply
Awk maybe a good powerful tool, but it is NOT an essential must know for all Linux users. I use Linux and don't normally use Awk or anything similar, yet I have no issues. Not everybody needs to know this to get what they need out of a Linux OS. And no, I didn't watch all the video, responding more to the more or less click bait title. I'm tired of click bait, which I define as miss leading titles.
reply
Josh
I have always had trouble with awk because of all the syntax involved, this helped sooo much.
When you pressed enter on the square root part then said that the output was correct, this is the task list I had to perform to get back on track:
1. Facepalm
2. Pull fire alarm
3. Crying session
4. Shower with clothes on
5. Call Mom
6. Eat some sweets
7. Finish the video
reply
I have always had trouble with awk because of all the syntax involved, this helped sooo much.
When you pressed enter on the square root part then said that the output was correct, this is the task list I had to perform to get back on track:
1. Facepalm
2. Pull fire alarm
3. Crying session
4. Shower with clothes on
5. Call Mom
6. Eat some sweets
7. Finish the video
reply
kate
14:24 Why did it print the indented line? I would have expected it to not do it, based on the behavior of 11:04, which counted indentation as characters and this one checking the first character being 'b-c'. Are whitespace characters only pseudo-characters or something like that? It would sort of make sense, because of the whole column thing, but I'm still quite a bit confused.
reply
14:24 Why did it print the indented line? I would have expected it to not do it, based on the behavior of 11:04, which counted indentation as characters and this one checking the first character being 'b-c'. Are whitespace characters only pseudo-characters or something like that? It would sort of make sense, because of the whole column thing, but I'm still quite a bit confused.
reply
Maxi
I really don't like the idea that numbers start at 1. I mean I know that this is common in shell scripting in general, but come on....
For example: substr($0, 4) should really start the substring at index 4, which should be the 5th character. But okay, I guess that is just something you need to get used to
reply
I really don't like the idea that numbers start at 1. I mean I know that this is common in shell scripting in general, but come on....
For example: substr($0, 4) should really start the substring at index 4, which should be the 5th character. But okay, I guess that is just something you need to get used to
reply
Tina
Do you know anything about awk commands? I am trying to get the frequency of all lines of DNA input from a txt file? For example, if pattern GCGCTTAATA is within a list 10 times, I need for the read out to list the 10 as a frequency. - I am using AWK in VS. Essentially counting the unique value occurences.
reply
Do you know anything about awk commands? I am trying to get the frequency of all lines of DNA input from a txt file? For example, if pattern GCGCTTAATA is within a list 10 times, I need for the read out to list the 10 as a frequency. - I am using AWK in VS. Essentially counting the unique value occurences.
reply
Fordon,
Why are this important for a casual user? Have been on Linux since 1994, but no need for this in daily work with always been priority for me, normally i don't care about what happens under the hood, I use my computer as a tool to do my work, the computer or os doesn't really matter
reply
Why are this important for a casual user? Have been on Linux since 1994, but no need for this in daily work with always been priority for me, normally i don't care about what happens under the hood, I use my computer as a tool to do my work, the computer or os doesn't really matter
reply
Peyman
Hello, I got an old laptop and I installed Ubuntu on it, then I found out that it is not equipped with Bluetooth, so I bought a Bluetooth adapter Soomfon from Amazon. Now I tried a lot to install the bluetooth firmware. It doesn't seem possible. Can you help me with that
reply
Hello, I got an old laptop and I installed Ubuntu on it, then I found out that it is not equipped with Bluetooth, so I bought a Bluetooth adapter Soomfon from Amazon. Now I tried a lot to install the bluetooth firmware. It doesn't seem possible. Can you help me with that
reply
itech
Hi DT
A Newbie here at location 7.42 you executed:
awk -F -/- '/-\// -print $NF-' /etc/shells
I ran a slightly different command awk -F -/- '-print $NF-' /etc/shells
The results look similar. Could you please explain why my version also works?
Kind regards
reply
Hi DT
A Newbie here at location 7.42 you executed:
awk -F -/- '/-\// -print $NF-' /etc/shells
I ran a slightly different command awk -F -/- '-print $NF-' /etc/shells
The results look similar. Could you please explain why my version also works?
Kind regards
reply
Jerry
Yup, awk is cool. Just as an aside that was squares, not square roots. For square roosts you would need something like (n-(1/2)). AWK does have - which is raise to the power function. Raising a number to a fractional power is taking the root.
reply
Yup, awk is cool. Just as an aside that was squares, not square roots. For square roosts you would need something like (n-(1/2)). AWK does have - which is raise to the power function. Raising a number to a fractional power is taking the root.
reply
Add a review, comment
Other channel videos















